Project

General

Profile

Actions

Patch #12753

closed

Update config.i18n.load_path for plugin-supplied locales

Added by Takeshi Yaegashi about 13 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Category:
I18n
Target version:

Description

With Rails 3 Redmine::Plugin.register should update Rails.application.config.i18n.load_path for plugin-supplied locales to allow them to override system locales. I18n.load_path is overriden with system locales by an after_initialize hook in active_support/i18n_railtie.rb, thus currently plugins like https://github.com/edavis10/redmine_language_change won't work.

The attached patch is against 2.1-stable branch.


Files


Related issues

Has duplicate Redmine - Defect #14758: Can't override default locale with pluginClosedActions
Actions

Also available in: Atom PDF