I have a Rails 2.2 web application running on Passenger / REE
I set the default locale to config/environment.rb
config.i18n.default_locale = 'en-GB'
The first query has no language set in I18n.locale
If I go to a page with before_filter parameter which sets I18n.locale at each subsequent visit to any controller, even if he does not have the same parameter before_filterthat I18n.locale get I18n.locale what has been established, say en-US.
In Mongrel with the same code, each request receives a locale en-GB, by default, before explicitly specified by the before_filter parameter.
Any help is appreciated if this is normal passenger behavior.
source
share