locales.rb 317 B

1234567891011
  1. # Where the I18n library should search for translation files
  2. I18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}').to_s]
  3. # Set default locale to something other than :en
  4. I18n.default_locale = :es
  5. # Whitelist locales available for the application
  6. I18n.available_locales = [:es, :en, :eu]