mantisbt:translationshowto
This is an old revision of the document!
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 mantis.
For a start, prepare your workspace by downloading the latest source code
Remember to announce your work on mantisbt-lang@lists.sourceforge.net mailing list, so other translators will engage you if you are not the only contributor for the language
Existing translations
- find the language file you need to modify in the /lang directory; language files are named strings_<language>.txt
- open strings_english.txt for reference
- open the file with your editor of choice; editor must support UTF encoding
- edit the strings and save the results
- run
svn diff > strings_<language>.patch
- open a new issue in http://www.mantisbt.org/bugs, attaching the patch file
New translations
If your language is not included at all in mantis:
- create a new file by copying the strings_english.txt file like
cp strings_english.txt strings_<newlanguage>.txt
- translate the strings
- attach the resulting file to a new issue in http://www.mantisbt.org/bugs
mantisbt/translationshowto.1225268726.txt.gz · Last modified: 2009/12/07 13:58 (external edit)