tg2docs
tg2docs copied to clipboard
Improve documentation about "i18n.lang" configuration parameter
The documentation is quite unclear about i18n.lang, stating two opposite behaviors:
- "works both when language detection is enabled or disabled." followed by
- "If this is set and language detection is dislabled, the application will consider that all gettext wrapped strings must be translated to this language."
Does i18n.lang have any effect on an internationalized application built on language detection ?
As stated by the doc it's the Fallback language for the application.
It will always be used as the language when browser and application cannot find a language they agree on.