forked from External/greenlight
GRN-86: Change the way the locales are handled (#417)
* Changed the way locales are shown * Updated the rest of the locales * Changed the way available_locales are defined * Updated locales in Russian * Updated locaales for German
This commit is contained in:
@ -34,8 +34,8 @@ module Greenlight
|
||||
config.exceptions_app = routes
|
||||
|
||||
# Configure I18n localization.
|
||||
config.i18n.available_locales = %w(ar de el en es fr pt pt-br ru zh-cn)
|
||||
config.i18n.default_locale = "en"
|
||||
config.i18n.available_locales = [:en]
|
||||
config.i18n.default_locale = :en
|
||||
|
||||
config.i18n.available_locales.each do |locale|
|
||||
config.i18n.fallbacks[locale] = [locale, :en]
|
||||
|
Reference in New Issue
Block a user