1
0
Fork 0

Configure locales

This commit is contained in:
Alex Kotov 2018-11-26 20:19:07 +05:00
parent fe73415aab
commit 5aae578d8c
No known key found for this signature in database
GPG key ID: 4E831250F47DE154

View file

@ -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}')]