Closed inclooder closed 10 years ago
Had this happen with 'es' before,
I18n.config.enforce_available_locales = false
in application.rb resolved it
This should be fixed at http://demo.alchemy-cms.com/admin/dashboard
How can we reproduce this? If I switch locales in the demo I don't get any errors? Does this happen because of the Accepted-Language headers from your browsers?
Here is my Accepted-Language
Accept-Language:pl-PL,pl;q=0.8,en-US;q=0.6,en;q=0.4
Ok, guessed so. I will fix this.
Thanks for reporting.
I reproduced it by clearing cookies for the demo page, setting the browsers language to something not available and trying to login to the demo application.
Should be resolved now.
Looks good :)
This happened again today with alchemy-cms 3.0.0 and rails 4.1.5 with the "it" locale but, here comes the weird part: only on one of ours machines. In order to resolve we had to put I18n.config.enforce_available_locales = false
in application.rb and now it seems ok on both of ours machines.
http://demo.alchemy-cms.com/admin/dashboard