Language

$g_default_language

This is the language used by default in Mantis. This may be set to 'auto' where MantisBT will try to determine the language from the browser.

$g_language_choices_arr

This is to be set to an array of languages that are available for users to choose from. The default value includes all languages supported by Mantis. The administrator can limit the languages available for users to choose from by overriding this value. For example, to support English, French and German include the following code: array( 'english', 'french', 'german' ); Of course, administrators can also add their own languages by translating the strings and creating their own language files. You are encouraged to share any translation work that you do with the Mantis team. This will ensure that the newly created language file is maintained with future Mantis releases.All language files reside in the lang/ folder. They are all named according to the following pattern: strings_<language>.txt.

$g_fallback_language

This is the language used if Mantis cannot determine the language from the browser. It defaults to 'english'.As of 0.19.0, this may be set to 'auto' where Mantis will try to determine the language from the browser.

Note

If a string does not exist in the active language, the English string is used instead.