Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

I18n: add available_locales to I18n and SimpleBackend

#1714

As discussed in IRC.

I18n.available_locales is necessary for translated views/templates (as in index.en.html.erb vs index.de.html.erb).

http://groups.google.com/group/r...

Also flattening the translations load_path before using it. (A change in I18n that has not been sync'ed to Rails, yet.)

Reported by Sven Fuchs · January 8th, 2009 @ 11:40 PM

State: resolved
Milestone: none
Assigned to: DHH DHH
Importance: none

Activity

  1. Yaroslav Markin
    Yaroslav Markin

    That is all synced to http://github.com/svenfuchs/i18n... , version bumped as well. We can just fetch it as vendor, with version bumped to 0.1.2, that would be correct instead of syncing rails version and gem version all the time :-)

    January 9th, 2009 @ 12:21 PM

  2. Sven Fuchs
  3. Repository
    Repository
    • State changed from new to resolved

    (from [5c062bf1000886d26b3a4c3b08dfb6618a4adcdf]) add #available_locales to I18n and I18n::SimpleBackend, flatten translations load_path when loading translations [#1714 I18n: add available_locales to I18n and SimpleBackend state:resolved] Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...

    January 26th, 2009 @ 04:46 AM