Project

General

Profile

Refactor #25693

Handle i18n 1.1 update

Added by Michael Moll 11 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internationalization
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

For whatever reason (probably some gem in the whole dependencuy chain had it pinned until recently), I did see this today:

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.x and Rails (< 6.0), 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


Related issues

Related to Foreman - Tracker #24837: Rails 6.0 TrackerNew

Related to Foreman - Tracker #25601: Rails 5.2.3 trackerNew

Associated revisions

Revision 11bfc142 (diff)
Added by Michael Moll 10 months ago

Fixes #25693 - Update fallback config for i18n 1.1 gem

History

#1 Updated by The Foreman Bot 11 months ago

  • Pull request https://github.com/theforeman/foreman/pull/6336 added

#2 Updated by Michael Moll 11 months ago

#3 Updated by Michael Moll 11 months ago

#4 Updated by Tomer Brisker 10 months ago

  • Fixed in Releases 1.21.0 added

#5 Updated by Michael Moll 10 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Tomer Brisker 9 months ago

  • Fixed in Releases 1.20.2 added

Also available in: Atom PDF