Chris Beaven
Chris Beaven
Timing the list of countries still wouldn't be triggering the translations of the lazy strings. You'd probably need to time something like `[str(c) for c in countries]`
Thanks for your findings! I'll take another dive into why this is happening soon. Caching would be a potential way to bandaid fix this and probably a good efficiency improvement...
## ✅ Fixed - Major Performance Enhancement I've implemented a fix for this issue by adding **per-language caching** to `Countries.__iter__()`. The results are dramatic: ### Performance Improvements | Scenario |...
Thank you @MarcoGlauser for this contribution! The goals you identified here were spot on - decoupling versions and modernizing the CI infrastructure. However, the project has since undergone a complete...
Hey! have you updated this in transifex? That's where the translations get pulled from
Thank you for adding Thai translations! However, this project manages translations through [Transifex](https://explore.transifex.com/smileychris/django-countries/). Please submit your translation updates there instead of via pull request. Translation updates are pulled from Transifex...
Just 2 years fix cycle 😂
pre-commit is useful to enforce standards. Since it needs active buy-in from your developers to actually use it, it usually lives as a git action too to actually enforce it...
Since this discussion was getting a bit esoteric, I thought it would be good to actually just suggest the changes to the current hooks. The current `towncrier-check` hook is confusing...
There's not a way at the moment to have the countries_first ordered by user language. It'd be an easy addition with a new setting if someone wanted to tackle it!