This project is archived and is in readonly mode.

Changeset [49342d1745dd0e6c4ebebe9e535e374783ac2c10] by Antonio Tapiador del Dujo

August 30th, 2009 @ 09:38 PM

I18n support for plugins

Rails will now automatically add locale files found in any engine's locale
directory to the I18n.load_path (i.e. files that match the glob pattern
"config/locales/*/.{rb,yml}" relative to engine directories).

[#2325 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/49342d1745dd0e6c4ebebe9e535e37...

Committed by Antonio Tapiador del Dujo

  • A railties/test/fixtures/plugins/engines/engine/config/locales/en.yml
  • M railties/CHANGELOG
  • M railties/lib/rails/plugin.rb
  • M railties/lib/rails/plugin/loader.rb
  • M railties/test/initializer_test.rb
  • M railties/test/plugin_loader_test.rb

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>