I have to develop a Ruby on Rails app for my company and don’t know how to configure it for a French site.
I don’t need multiple language support, I just want to have error messages, pluralization and date format for French.
I tried to set:
config.i18n.default_locale = :fr
in my application.rb file but it doesn’t seem to have any effect.
Are these features already implemented in RoR 3? Or I will have to translate these things myself?
As far as I know, Rails comes with en locale only. You can get additional locales here:
https://github.com/svenfuchs/rails-i18n/tree/master/rails/locale/