Skip to content

Commit

Permalink
Merge pull request consuldemocracy#2371 from consul/change_default_lo…
Browse files Browse the repository at this point in the history
…cale_to_en

Make English the default locale
  • Loading branch information
bertocq authored Jan 31, 2018
2 parents c06276b + d9d2afb commit 1527968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Application < Rails::Application

# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
config.i18n.default_locale = :es
config.i18n.default_locale = :en
config.i18n.available_locales = [:en, :es, :fr, :nl, 'pt-BR']
config.i18n.fallbacks = {'fr' => 'es', 'pt-br' => 'es', 'nl' => 'en'}
config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]
Expand Down

0 comments on commit 1527968

Please sign in to comment.