-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I18n::Backend::Base pluralize raise instead of falllbacking #893
Comments
This would be helpful for me, too. Is the fix as simple as it looks, or would there be other consequences of changing this to a |
To answer my own question: one consequence of this is that even if you throw a |
Related to ruby-i18n/i18n#493 |
And there is already a PR opened on ruby-i18n ruby-i18n/i18n#502 |
Hello,
Wit a yml like this:
And all fallback things, I18n raise me an error
but i want this
I fixed it by adding this code into
config/initializer/i18n.rb
As I18n::Backend::Base.resolve/translate methods are wrapped into an
catch(:exception)
for managing falllbacksThe text was updated successfully, but these errors were encountered: