Closed pedrocarmona closed 3 weeks ago
Allow locales with region (example pt-PT: Portuguese from Portugal region)
# config/initializers/spina.rb Spina.configure do |config| .. config.locales = [ :'pt-PT', :en ]
# config/initializers/mobility.rb Mobility.configure do ... locale_accessors [ :'pt-PT', :en ]
# config/application.rb ... config.i18n.default_locale = :'pt-PT'
maybe this is not the best approach, maybe for now should be enough to convert pt-BR.yml into pt.yml
pt-BR.yml
pt.yml
or even use i18n fallbacks
Context
Allow locales with region (example pt-PT: Portuguese from Portugal region)
Changes proposed in this pull request
Guidance to review