public
Description: cutting edge cms, blog, wiki, forum ...
Home | Edit | New

Working with translations

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

Last edited by diasjorge, Sun Mar 15 09:27:53 -0700 2009
Home | Edit | New
Versions: