This project is archived and is in readonly mode.
[patch] Prioritize application i18n above engine i18n
Reported by Antonio Tapiador | December 2nd, 2009 @ 03:02 PM
Engine translations are added at the end of the I18n.load_path, so they take precedence over application translations.
Application developers should be able to overwrite engine translations.
http://github.com/atd/rails/commit/6161e719012e856a59248fe338ff1c01...
Comments and changes to this ticket
-
Antonio Tapiador December 9th, 2009 @ 09:06 AM
- Tag changed from engines, i18n to 18, engines
- Title changed from Prioritize application i18n above engine i18n to [patch] Prioritize application i18n above engine i18n
-
Antonio Tapiador December 9th, 2009 @ 09:07 AM
- Tag changed from 18, engines to engines, i18n
-
José Valim January 3rd, 2010 @ 12:34 AM
- Assigned user set to José Valim
-
José Valim January 3rd, 2010 @ 11:30 AM
Why not simply unshift?
I18n.load_paths.unshift *locale_files
-
Antonio Tapiador January 7th, 2010 @ 09:48 AM
IMO, Engine developers should be able to change Rails translations. And finally, application developers should have the highest priority.
So translations order should be:
Rails - Engines - Application -
José Valim January 24th, 2010 @ 09:24 AM
- State changed from new to resolved
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>