tg2docs icon indicating copy to clipboard operation
tg2docs copied to clipboard

Improve documentation about "i18n.lang" configuration parameter

Open ghost opened this issue 8 years ago • 1 comments

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 ?

ghost avatar Sep 07 '17 08:09 ghost

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.

amol- avatar Sep 07 '17 22:09 amol-