Sven Fuchs 9a3a4d6aef Make i18n fallbacks configurable and fallback to the default locale by default in production [#4428 state:resolved]
Allows to configure locale fallbacks through config.i18n.fallbacks. The default setting
config.i18n.fallbacks = true in production.rb will make I18n.t lookup fallback to the
I18n.default_locale if a translation could not be found for the current or given locale.

config.fallbacks = true

config.fallbacks.map = { :ca => :es }
config.fallbacks.defaults = [:'es-ES', :es]

config.fallbacks = [:'es-ES', :es]

config.fallbacks = { :ca => :es }

config.fallbacks = [:'es-ES', :es, { :ca => :es }]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2010-04-17 19:26:46 +01:00
2010-04-16 18:44:54 -03:00
2010-04-16 23:44:39 -03:00
2010-04-13 14:23:38 -07:00
2008-06-22 10:38:25 -07:00
2010-04-04 11:56:49 -07:00
2010-04-04 21:05:54 -07:00
2010-04-13 12:26:15 -07:00
Description
No description provided
85 MiB
Languages
Ruby 97.9%
CSS 1.5%
HTML 0.5%