Open techgique opened 5 years ago
Rails has a couple built-in config variables for i18n: https://guides.rubyonrails.org/v5.2/configuring.html#configuring-i18n
We may be able to integrate our i18n config with these more tightly. Particularly, using i18n.config.available_locales and i18n.config.default_locale in place of APP_OPTS[...].
i18n.config.available_locales
i18n.config.default_locale
APP_OPTS[...]
Rails has a couple built-in config variables for i18n: https://guides.rubyonrails.org/v5.2/configuring.html#configuring-i18n
We may be able to integrate our i18n config with these more tightly. Particularly, using
i18n.config.available_locales
andi18n.config.default_locale
in place ofAPP_OPTS[...]
.