Mantis Logo
Mantis Manual
Manual
Configuration

Database
Path
Webserver
Version
Email
Language
Display
Time
JpGraph
Date
News
Default Preferences
Summary
Bugnote
File Upload
HTML
Authentication
Status Settings
Filters
Misc
Colors
Cookies
Database Tables
Speed Optimisation
Reminders
Bug History
Sponsorship
Source Control Integration
Custom Fields
My View Settings
Relationships
System Logging


Partner Links


Language
Last Modified: August 13, 2004 09:08AM
(Any)
Description

$g_default_language This is the language used by default in Mantis.

As of 0.19.0, this may be set to 'auto' where Mantis 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.
If a string does not exist in the active language, the English string is used instead.

User Contributed Notes
Language
Add Notes About Notes
There are no user contributed notes for this page.
Last updated: Wed, 27 Feb 2013 - 3:03:58

Mantis @ SourceForge