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
As for a popular i18n gem, rails-i18n provides zh-CN, zh-HK, zh-TW, and zh-YUE locales for Chinese languages. And :zh in i18n-country-translations gem seems to be matched with zh-CN.
To rename the locale code or make a copy for zh-CN would be profit for better compatibilities among discrete RoR i18n world.
The text was updated successfully, but these errors were encountered:
You could add this to your config/application.rb: config.i18n.fallbacks = {"zh-CN" => [:zh]}
And the key couldn't be found in the zh-CN.yaml would be found in the zh.yml.
As for a popular i18n gem, rails-i18n provides zh-CN, zh-HK, zh-TW, and zh-YUE locales for Chinese languages. And
:zh
in i18n-country-translations gem seems to be matched with zh-CN.To rename the locale code or make a copy for zh-CN would be profit for better compatibilities among discrete RoR i18n world.
The text was updated successfully, but these errors were encountered: