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 https://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 (changes are committed on a bi-weekly basis, Mondays and Thursdays), 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 verify that the localized language files do not introduce errors and check for inconsistencies with the English reference language strings.
The script will detect problem such as invalid language file names, missing strings, syntax errors, incorrect or inconsistent placeholders, etc.
It is also useful for validating 3rd-party plugins' language files that are not managed by translatewiki.net.
