houdini/config/initializers/locale.rb
2019-08-02 19:07:23 +02:00

3 lines
205 B
Ruby

# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
I18n.available_locales = Settings.available_locales
Rails.application.config.i18n.fallbacks = [I18n.default_locale]