What is better to you ?
- precise the locale in all I18n.t(....) messages of the page, or
- set_locale in a before_validation logic ?
I'm concern about DRY but also performance.
What is better to you ?
I'm concern about DRY but also performance.
You should save your locale in your session and set it by default at your application starting.
I recommend you to read this article : best practices
You should use both methods to implement i18n in Rails application.