Webiik\Translation\Translation
Translations and text parsing.
It is defined in private/config/container/services.php. By default, the service Translation is defined to return translations related to WEBIIK_LANG.
Webiik uses application middleware that automatically fills the Translation with content from translation files according to the current route and language:
private/translationsprivate/translations/enhome, translation filename must be named home.php_app.php is always loadedIn route controller. Also, it is used by the application middleware LoadTranslations.
Read documentation to learn more about Translation component.