HowTo translate Redmine in your own language » History » Revision 9
Revision 8 (Jean-Philippe Lang, 2008-04-19 13:58) → Revision 9/27 (Azamat Hackimov, 2008-09-21 15:29)
h1. HowTo translate Redmine in your own language Redmine can easily be translated in any language. There are a few things to translate: # The the main lang file, located in @/lang@ # The the calendar lang file, located in @/public/javascripts/calendar/lang@ # The the wiki toolbar lang file, located in @/public/javascripts/jstoolbar/lang@ (for r1074 and above) Say you want to translate Redmine in Finnish (@fi@ as defined in the "IANA Language Subtag Registry":http://www.iana.org/assignments/language-subtag-registry): # Copy copy @/lang/en.yml@ to @fi.yml@ and translate every strings this file contains. # Copy copy @/public/javascripts/calendar/lang/calendar-en.js@ to @calendar-fi.js@ and translate every strings this file contains (mainly day and month names). # Copy copy @/public/javascripts/jstoolbar/lang/jstoolbar-en.js@ to @jstoolbar-fi.js@ and translate the strings. # Test your translation with command <pre>rake test</pre> If you get errors realated to gloc, you must fix them. # You can check if main en.yml have new strings. Just run <pre>rake gloc:update</pre> *All these files must be UTF-8 encoded.* Do not use HTML entities in translated strings. You can submit your translation "here":http://www.redmine.org/projects/redmine/issues/new?tracker_id=3 (login required) if you want it to be added to the next release.