mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
Added I18n initializer
This commit is contained in:
committed by
Maxwell Salzberg
parent
535f6ed334
commit
0b91a2c186
8
config/initializers/locale.rb
Normal file
8
config/initializers/locale.rb
Normal 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
|
||||
Reference in New Issue
Block a user