a11yist/config/initializers/locale.rb

9 lines
No EOL
301 B
Ruby

# Where the I18n library should search for translation files
# I18n.load_path += Dir[Rails.root.join('lib', 'locale', '*.{rb,yml}')]
# Permitted locales available for the application
I18n.available_locales = [:"de-CH"]
# Set default locale to something other than :en
I18n.default_locale = :"de-CH"