I have a Rails 2.2 web app running on Passenger / REE
I set the default locale in config/environment.rb
config.i18n.default_locale = 'en-GB'
The first request seems to have no locale set in I18n.locale
If I the visit a page with a before_filter that sets I18n.locale every subsequent visit to any controller even if it doesn't have that same before_filter setting the I18n.locale get an I18n.locale of whatever was set, say, 'en-US'.
On Mongrel with the same code each request gets a locale of 'en-GB', the default, until explicitly set by a before_filter.
Any help appreciated working out if this is normal Passenger behaviour.
Thanks,
-Tim