Project

General

Profile

HowTo translate Redmine in your own language » History » Version 9

Azamat Hackimov, 2008-09-21 15:29

1 1 Jean-Philippe Lang
h1. HowTo translate Redmine in your own language
2
3
Redmine can easily be translated in any language.
4
5 4 Jean-Philippe Lang
There are a few things to translate:
6 1 Jean-Philippe Lang
7 9 Azamat Hackimov
# The main lang file, located in @/lang@
8
# The calendar lang file, located in @/public/javascripts/calendar/lang@
9
# The wiki toolbar lang file, located in @/public/javascripts/jstoolbar/lang@ (for r1074 and above)
10 1 Jean-Philippe Lang
11
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):
12
13 9 Azamat Hackimov
# Copy @/lang/en.yml@ to @fi.yml@ and translate every strings this file contains.
14
# Copy @/public/javascripts/calendar/lang/calendar-en.js@ to @calendar-fi.js@ and translate every strings this file contains (mainly day and month names).
15
# Copy @/public/javascripts/jstoolbar/lang/jstoolbar-en.js@ to @jstoolbar-fi.js@ and translate the strings.
16
# Test your translation with command <pre>rake test</pre> If you get errors realated to gloc, you must fix them.
17
# You can check if main en.yml have new strings. Just run <pre>rake gloc:update</pre>
18 1 Jean-Philippe Lang
19 8 Jean-Philippe Lang
*All these files must be UTF-8 encoded.* Do not use HTML entities in translated strings.
20 2 Jean-Philippe Lang
21 7 Jean-Philippe Lang
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.