Defect #14758
closedCan't override default locale with plugin
0%
Description
trunk/config/locales/en.yml:
label_user_mail_option_all: "For any event on all my projects"
trunk/plugins/my_plugin_name/config/locales/en.yml:
label_user_mail_option_all: "For events on all my projects"
Restart Redmine and still see default locale translation. But if i comment this string in trunk/config/locales/en.yml, then appears my_plugin translation.
Ruby 2.0.0-p247, Redmine 2.3.2stable
Related issues
Updated by Daniel Felix almost 11 years ago
Hi,
as you can see in source:/trunk/lib/redmine/plugin.rb#L82 the plugin files are joined.
Do you see some exception in the log like these?
source:/trunk/lib/redmine/i18n.rb#L37
Updated by Ilya S almost 11 years ago
I'm not saying that plugins locales are not joins, i'm saying that plugin locales can't override default locales, may be they loads before default locales, i don't know.
No, i'm not see any exceptions or warnings, nothing happens, plugin locales just don't work until i disable default strings.
Sorry for my english.
Updated by Go MAEDA almost 11 years ago
This issue is probably duplicated with #12753.
Updated by Toshi MARUYAMA almost 11 years ago
- Status changed from New to Closed
- Resolution set to Duplicate
Updated by Toshi MARUYAMA almost 11 years ago
- Is duplicate of Patch #12753: Update config.i18n.load_path for plugin-supplied locales added