carmen-ruby / carmen-rails

NOT ACTIVELY MAINTAINED Rails adapter for Carmen (provides country_select and subregion_select)
MIT License
215 stars 159 forks source link

localized country_select #3

Closed pekeler closed 12 years ago

pekeler commented 12 years ago

How do you use country_select in a different language. I tried Carmen.i18n_backend.locale=:es but the select is still in English.

Thanks!

jim commented 12 years ago

This was an issue in carmen where some attributes of regions were being cached and not updating when the locale changed. It is fixed in the master branch of that project.

FWIW my plan is to have carmen-rails hook into the default Rails i18n machinery, so that the Rails locale will be inherited by carmen.

I'm also going to add a locale menu to the demo app once that's done to demonstrate how to get everything working.