rubyforgood / coral

An upcoming project for Ruby for Good
MIT License
13 stars 11 forks source link

Resolve breaking change in i18n seen here https://github.com/ruby-i18… #96

Closed LizPrescott closed 4 years ago

LizPrescott commented 4 years ago

…n/i18n/releases/tag/v1.1.0

New i18n version changed the syntax for using fallback locales

When I applies rails 6 and new gems to i18n, I got the following warning.

But that may break your application.

Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.

For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 

Type of change

How Has This Been Tested?

Ran the test suite and manually tested the routes. (I clicked on a bunch of stuff.)

Screenshots