-
Notifications
You must be signed in to change notification settings - Fork 136
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
Intl.PluralRules.~locale.fr not working correctly #973
Comments
Thanks for reporting this @aronwoost. @longlho, this looks like an issue within the bundled version of the PluralRules polyfill, would you be able to look into this? |
dupe of formatjs/formatjs#2482 we fixed it in 4.0.5 so just need an upgrade |
@JakeChampion looks like this already has the fix. Maybe u need to cut a release? |
yeah see description in #967 |
Thanks for noticing the missed release. I've now released this update in v3.102.0 |
You're welcome and thanks for releasing! 💪🏼 Pls let me know when |
Bug
What
Intl.PluralRules.~locale.fr
polyfill is not working correctly (tested on IE11 and Safari 12).Details
How to reproduce:
console.log(new Intl.PluralRules('fr').select(2));
is throwing with:It should log
"others"
.From reading the code I think that
e
is indeed never defined. 🤔However, what does work is this:
It does correctly output:
So I suspect something went wrong there with coping the polyfill.
The text was updated successfully, but these errors were encountered: