Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
update I18n fallbacks configuration to be compatible with i18n 1.1.0 #33574
In I18n 1.1.0, there was a change to no longer include the default locale as a default fallback.
As a result, this broke the tests for Rails, and in #33566 we avoided using it in order to get the tests to pass again.
This PR attempt to provide a permanent solution for compatibility with I18n 1.1.0.
In the case were no fallbacks were configured Rails would not include the Fallbacks module in the backend, so it appears to behave correctly across both versions of i18n.