Project

General

Profile

Locale file not picked up

Added by Vivek Jain over 11 years ago

I have created a plugin and created en.yml file under config/locales/ and override the values of some of the strings like label_all which are defined in the redmine locale file

however when I run my plugin I can see that redmine is picking the values from the redmine locale only.

Any suggestions


Replies (1)

RE: Locale file not picked up - Added by Tide _ over 11 years ago

If you are trying to make a plugin and just define some strings for your plugin then try giving them a unique name that is not in the Redmine file. Something like label_uniquename_all.

If you are trying to make a plugin that overrides Redmine strings then I am not sure if that can be done.
http://www.redmine.org/boards/2/topics/38729

    (1-1/1)