Wizard default locale config doesn't work
Reported by Ignacio Huerta | September 25th, 2011 @ 10:46 AM | in Hobo 1.3 (Rails 3)
I usually select "es" as the default locale. The wizard adds this line to config/application.rb:
config.i18n.default_locale = :es
I discovered that line is ignored and the application starts in
english. In order to get spanish translations I have to replace it
with:
I18n.default_locale = :es
Comments and changes to this ticket
-
Matt Jones September 25th, 2011 @ 09:36 PM
- State changed from new to open
- Milestone set to Hobo 1.3 (Rails 3)
- Milestone order changed from 197985 to 0
These appear to be related:
https://github.com/rails/rails/issues/703
https://github.com/rails/rails/pull/179
I suspect part of the issue may be that the Hobo code is loading things early. Just to verify, is this still happening on the latest version of Rails 3.0?
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป