python-babel / babel

The official repository for Babel, the Python Internationalization Library
http://babel.pocoo.org/
BSD 3-Clause "New" or "Revised" License
1.29k stars 432 forks source link

Add support for other systemic aliases specified in CLDR `root.xml` #1076

Open akx opened 2 months ago

akx commented 2 months ago

Overview Description

892 was caused by us not reading <alias>es at all.

1075 encodes the "hey, you can use short if you can't find these time deltas" logic from root.xml into code, which fixes that issue. There are other interesting <alias>es in root.xml we should support:

It looks like (thankfully) there are no <alias>es specified in specific locale files, and I don't think we need to support that.