This is an old revision of the document!
Table of Contents
How to create or update a translation
So, you noticed your language of choice is missing a string or you just spotted a less-than-ideal translation and want to contribute the updated string, here is some hints for fixing the issue and properly submitting your modifications for inclusion in MantisBT.
Communication about MantisBT localisation can take page at the mantisbt-lang@lists.sourceforge.net mailing list.
Localization for MantisBT and the Core Plugins is managed thanks to translatewiki.net.
Prerequisites
Before you can start contributing, you need to create an account at translatewiki.net
- register a user at translatewiki.net
- create a user page at http://translatewiki.net/wiki/User:YourUserName with a little information about yourself (example).
- set your user language in your preferences while logged in
- request translator access. This will take a few hours to be processed by a site administrator. Make certain you have created a user page.
Translations
After you have been granted translator rights, you can translate MantisBT Core and the bundled Plugins at the following URLs:
The translatewiki.net staff will add your work to the MantisBT source code periodically (usually about once a month, or more often), so the only thing you need to do is translate! Some localisation statistics can be found on the MantisBT translatewiki project page.
The same process is valid not only for updating translations for existing languages, but also if you wish to translate a new language. Once the language's translated percentage goes over 40%, it will be added to the MantisBT source code by the translatewiki.net staff.
Validating translations
Run http://localhost/mantisbt/admin/test_langs.php to make sure that the new file doesn't introduce syntax errors.
Note: as the translation files are generated by TranslateWiki, this should not be necessary and is only kept here for historical purposes.
This script is nevertheless useful for validating 3rd-party plugins' language files.