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
This commit is contained in:
1 parent
f36b3fff60
commit
3739810afa
2 files changed
+71
-3
No files matched your search
@@ -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'
|
||||
|
||||
|
||||
Reference in new issue
Block a user