HEADS UP! i18n 1.1 changed fallbacks to exclude default locale

Hi,

I’ve just been rebuilding the app, and this text went wizzing by.

HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. 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.

Could someone please explain what this means?

Thanks!
Chris.

2 Likes

That’s just a warning the i18n gem prints during installation. Nothing to worry about.

5 Likes