-
Notifications
You must be signed in to change notification settings - Fork 12
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
Deep recursion when creating objects for specific regions #41
Comments
Thank you for your bug report, I hadn't considered recursion with likely subtags. I'll take a look as soon as I can. |
I'm generating a development version of 0.34.4 |
Thanks @ThePilgrim , I will test https://metacpan.org/release/JGNI/Locale-CLDR-v0.34.4-TRIAL1 on the weekend. |
Hi @ThePilgrim, I tested the web app with Locale::CLDR 0.34.4 and the translation of country names worked fine. Thanks for fixing this bug! |
I added translation of country names to a web application using Locale::CLDR. Testing with BV, Bouvet Island, caused high processor load on the web server.
This can be reproduced with a simple script.
The debugger shows that the recursion occurs when the likely subtags are determined. I suppose that an infinite loop is entered because of some specific likely subtags.
The regions AQ, BV, CP, GS, and HM all show the deep recursion.
bouvet.pl.txt
The text was updated successfully, but these errors were encountered: