Skip to content

Commit

Permalink
change default locales to en it bg and el (#5)
Browse files Browse the repository at this point in the history
* change default locales to en it bg and el, to update on production db organization later

* Default locales to env variable instead of hard coded
  • Loading branch information
HHassig authored Jul 1, 2024
1 parent b74c763 commit 07dc2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/decidim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# of languages will be equal or a subset of the list in this file.
# config.available_locales = Rails.application.secrets.decidim[:available_locales].presence || [:en]
# Or block set it up manually and prevent ENV manipulation:
config.available_locales = %w(en ca es)
config.available_locales = Rails.application.secrets.decidim[:available_locales].presence || [:en]

# Sets the default locale for new organizations. When creating a new
# organization from the System area, system admins will be able to overwrite
Expand Down

0 comments on commit 07dc2cb

Please sign in to comment.