From 3739810afa3545e6747a9111185dc8808fff6078 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 18 Nov 2012 17:41:31 +0000 Subject: Adds a custom i18n backend that lazily loads translations files. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10843 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/initializers/30-redmine.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'config/initializers') diff --git a/config/initializers/30-redmine.rb b/config/initializers/30-redmine.rb index 11a248959..1018ca18c 100644 --- a/config/initializers/30-redmine.rb +++ b/config/initializers/30-redmine.rb @@ -1,6 +1,5 @@ I18n.default_locale = 'en' -# Adds fallback to default locale for untranslated strings -I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks) +I18n.backend = Redmine::I18n::Backend.new require 'redmine' -- cgit v1.2.3