HowTo translate Redmine in your own language » History » Revision 10
« Previous |
Revision 10/29
(diff)
| Next »
Jean-Philippe Lang, 2009-02-21 13:06
files are now found in /config/locales
HowTo translate Redmine in your own language¶
Redmine can easily be translated in any language.
There are a few things to translate:
- The main lang file, located in
/lang(or/config/localessince r2493) - The calendar lang file, located in
/public/javascripts/calendar/lang - 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):
- Copy
/lang/en.ymltofi.ymland translate every strings this file contains. - Copy
/public/javascripts/calendar/lang/calendar-en.jstocalendar-fi.jsand translate every strings this file contains (mainly day and month names). - Copy
/public/javascripts/jstoolbar/lang/jstoolbar-en.jstojstoolbar-fi.jsand translate the strings. - Test your translation with command
rake test
If you get errors realated to gloc, you must fix them. - You can check if main en.yml have new strings. Just run
rake gloc:update
All these files must be UTF-8 encoded. Do not use HTML entities in translated strings.
You can submit your translation here (login required) if you want it to be added to the next release.
As of 2009-02-21, only updates based on the new translation files (found in /config/locales) should be submitted.
Updated by Jean-Philippe Lang over 16 years ago · 10 revisions