This project is archived and is in readonly mode.

Changeset [cf4846c6ae991143afaef987a63c3ad9a3a2546b] by Antonio Tapiador del Dujo

August 30th, 2009 @ 09:36 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

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=""></a>