Skip to content

Commit

Permalink
config/application.rb: Add Polish locale (pl)
Browse files Browse the repository at this point in the history
This activates the Polish translations from RefugeRestrooms#476.

The app should now show in Polish for browsers with "pl"
in a preferred position of their Accept_Language headers.
  • Loading branch information
DeeDeeG committed Oct 15, 2018
1 parent 51e0bad commit 6a1c4dc
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 @@ -23,7 +23,7 @@ class Application < Rails::Application

# I18n stuff
config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]
config.i18n.available_locales = [:en, :es, :fr]
config.i18n.available_locales = [:en, :es, :fr, :pl]
#config.i18n.default_locale = :fr


Expand Down

0 comments on commit 6a1c4dc

Please sign in to comment.