Added I18n initializer

This commit is contained in:
Ariel Zavala 2010-09-16 23:46:34 +08:00 committed by Maxwell Salzberg
parent 535f6ed334
commit 0b91a2c186

View file

@ -0,0 +1,8 @@
# Copyright (c) 2010, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
I18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
I18n.default_locale = :en