Skip to content

Working with translations

diasjorge edited this page Sep 14, 2010 · 1 revision

To set the default locale just add this in an initializer, here I’ll do it for spanish:

I18n.default_locale = :es

If you want to have another language to fallback when missing translations, add this line:

I18n.fallbacks.map :es => :en

More info on globalize2

Clone this wiki locally