babel
babel copied to clipboard
The official repository for Babel, the Python Internationalization Library
```py >>> import babel.units >>> babel.units.format_unit(1, 'duration-month', 'long', locale='et') '1 duration-month' # should be: '1 kuu' ``` In CLDR for estonian, duration-month is only defined for 'short' and 'narrow' lengths....
I noticed that `get_global('zone_territories').keys()` is missing some entries found in `pytz.common_timezones`, some of which are green 'canonical' rows on the table here https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List for example `America/Argentina/Buenos_Aires` or there is `Europe/Kiev`...
I created a .po file with [Poedit](https://poedit.net/) and it left the PO-Revision-Date field blank in the header. pybabel (2.17.0) raises the following exception when updating or compiling the po file:...
## Problem Python files that are under symlinked directories are not processed by pybabel. ## Expected result The `**` glob pattern in the configuration file instructs pybabel to traverse recursively...