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
you can turn off the enforce_available_locales ... not sure if that just silences or fixed the problem ...
I think the hack is there to make gettext locales look like i18n locales for compatibility ... maybe also patch available_locales ... or just the place that raises the exception ...
alternatively remove the hack and see which tests blows up ...
The
locale.gsub('_', '-')
i18n hack is preventing the page from loading on Rails 4.2.3 and i18n 0.7.0This results in
I18n::InvalidLocale: :"zh-HK" is not a valid locale
exception.Monkey patching I18n to remove this hack fixes the problem.
The text was updated successfully, but these errors were encountered: