You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Upgrading to the latest of version of slate results in my doc showing translation missing for keys which are in my en.yml but not in my zh-cn.yml. I just want to use the old behaviour of i18n and fallback when there are missing translations, but I'm not sure where I should be putting config.i18n.fallbacks = [I18n.default_locale] as described in the i18n release above. I couldn't find the original line config.i18n.fallbacks = true which should apparently be replaced.
I've been using the old version for a while but now running into issues with old dependencies, so I want to use the latest version and set its configuration to suit my needs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
https://github.com/ruby-i18n/i18n/releases/tag/v1.1.0
Upgrading to the latest of version of slate results in my doc showing
translation missing
for keys which are in myen.yml
but not in myzh-cn.yml
. I just want to use the old behaviour of i18n and fallback when there are missing translations, but I'm not sure where I should be puttingconfig.i18n.fallbacks = [I18n.default_locale]
as described in the i18n release above. I couldn't find the original lineconfig.i18n.fallbacks = true
which should apparently be replaced.I've been using the old version for a while but now running into issues with old dependencies, so I want to use the latest version and set its configuration to suit my needs.
Beta Was this translation helpful? Give feedback.
All reactions