new local .yml file not picked up by the user interface
Added by David Tremblay almost 11 years ago
I created a new language file to deal with specifics of the subject matter in the projects we will managed
(followed http://www.redmine.org/projects/redmine/wiki/HowTo_translate_Redmine_in_your_own_language)
cp en.yml en-MJ.yml
edited some fields (issues --> tasks issue --> task)
change the first line of the field from
en:
to
en-MJ:
ran
rake locales
I see it updating and parsing the files
Updating file ./config/locales/en-MJ.yml parsing ./config/locales/en-MJ.yml...
restart redmine by restarting apache
log in as admin, check in my account, no new language...
I've been searching for hours, if you have any idea on how I can make it work you are most welcome
Replies (4)
RE: new local .yml file not picked up by the user interface
-
Added by David Tremblay almost 11 years ago
so I did a little experiment.
instead I took the en-GB.yml file made a backup of it and did the same edits right in the en-GB.yml file ..
(rake locales, restart redmine, login as admin)
Now if I choose en-GB.yml I can see the edit.
So the problem is about adding a new language, am I wrong ?
RE: new local .yml file not picked up by the user interface
-
Added by David Tremblay almost 11 years ago
So the problem is about adding a new language, am I wrong ?
Is there an index of languages where I should add my custom language ? or the list of language files is the index ?
Now I have a question, IF I can reproduce this behaviour, I think we should consider it a bug no ?
RE: new local .yml file not picked up by the user interface
-
Added by Tobias Scherf over 6 years ago
Did you ever solve this problem? I have the same issue and following general instructions.
RE: new local .yml file not picked up by the user interface
-
Added by Mischa The Evil over 6 years ago
Tobias Scherf wrote:
[...] I have the same issue and following general instructions.
Ref.: Loading a locale file.