-
Notifications
You must be signed in to change notification settings - Fork 115
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::InvalidPluralizationData (translation data {:one=>"tenth", :other=>"tenths"} #167
Comments
Hi! I haven't been able to reproduce it. Do you mind sharing your installed gem versions?: >> I18n.with_locale(:en) { (3.75).to_words }
=> "three and seventy-five hundredths"
>> NumbersAndWords::VERSION
=> "0.11.6"
>> I18n::VERSION
=> "1.7.0" |
The same for me:
Also, I have found one thing - this error happened for me only in
Do you know how is it possible? |
There's a difference with localization data in those environments. Try to put up a project where this is reproducible that we can play with? |
Sorry, it is private repo, I can`t share it. I created new clean rails app and tested it - it is working without exceptions both for prod and dev o_O Also, in my project, it started to work without exception when I changed
on
into |
That's what I am saying, you have something in your en.yml that cannot be found, while it works for other languages. Try to drop two of your .yml's into the test Rails app? |
Interesting, I reverted Also, I tried to disable most of gems which I am using in my app without any luck. Will try to find the issue reason and update you. |
I wonder if it is related to ruby-i18n/i18n#401 |
Hello,
Have an issue with EN translation, please see an example:
The text was updated successfully, but these errors were encountered: