Configure locales
This commit is contained in:
parent
fe73415aab
commit
5aae578d8c
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Be sure to restart your server when you modify this file.
|
||||
|
||||
Rails.application.config.i18n.default_locale = :'ru-RU'
|
||||
Rails.application.config.i18n.available_locales = %i[en-US ru-RU]
|
||||
Rails.application.config.i18n.default_locale = :ru
|
||||
Rails.application.config.i18n.available_locales = %i[en ru]
|
||||
Rails.application.config.i18n.load_path +=
|
||||
Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]
|
||||
|
|
Reference in a new issue