Skip to content

Commit

Permalink
default locale to :ca, edit en.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HHassig committed Jun 26, 2024
1 parent 20f1194 commit fb47b05
Show file tree
Hide file tree
Showing 2 changed files with 32 additions 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 @@ -19,7 +19,7 @@
# Sets the default locale for new organizations. When creating a new
# organization from the System area, system admins will be able to overwrite
# this value for that specific organization.
config.default_locale = Rails.application.secrets.decidim[:default_locale].presence || :en
config.default_locale = Rails.application.secrets.decidim[:default_locale].presence || :ca

# Restrict access to the system part with an authorized ip list.
# You can use a single ip like ("1.2.3.4"), or an ip subnet like ("1.2.3.4/24")
Expand Down
31 changes: 31 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
@@ -1 +1,32 @@
# Files in the config/locales directory are used for internationalization
# and are automatically loaded by Rails. If you want to use locales other
# than English, add the necessary files in this directory.
#
# To use the locales, use `I18n.t`:
#
# I18n.t 'hello'
#
# In views, this is aliased to just `t`:
#
# <%= t('hello') %>
#
# To use a different locale, set it with `I18n.locale`:
#
# I18n.locale = :es
#
# This would use the information in config/locales/es.yml.
#
# The following keys must be escaped otherwise they will not be retrieved by
# the default I18n backend:
#
# true, false, on, off, yes, no
#
# Instead, surround them with single quotes.
#
# en:
# 'true': 'foo'
#
# To learn more, please read the Rails Internationalization guide
# available at https://guides.rubyonrails.org/i18n.html.

en:

0 comments on commit fb47b05

Please sign in to comment.