Get the active language form the MeshRequest.
The MeshRequest
The current language or default language if none is set.
Get the language array sorted for language fallback with the Mesh backend.
The MeshRequest.
The language array, where the current language is the first element.
Read the language files from the configured language folder and populate the langCache object.
MeshConfiguration
Set the active language.
The MeshRequest
The language code, that should be set as the current language.
Template filter to translate strings. The language will be chosen from previous requests.
String that should be translated.
Translated string or string if no translation is defined.
Template filter to translate strings.
String that should be translated.
The language to translate to.
Translated string or string if no translation is defined.
Generated using TypeDoc
Cache object, where the language JSONs will be stored.
{{}}