![Stephen Finucane](/assets/img/avatar_default.png)
We were simply using this to get a list of language codes. Turns out Python provides a way to do this already via the 'locale' module, which provides all of the locales we care about [1]. Use this. [1] https://github.com/python/cpython/blob/3.5/Lib/locale.py Change-Id: Id6dce33fdbe3fc537dfe28d5cc604985b3347405 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Team and repository tags
oslo.i18n -- Oslo Internationalization Utilities
The oslo.i18n library contain utilities for working with internationalization (i18n) features, especially translation for text strings in an application or library.
- Free software: Apache license
- Documentation: https://docs.openstack.org/oslo.i18n/latest
- Source: https://opendev.org/openstack/oslo.i18n
- Bugs: https://bugs.launchpad.net/oslo.i18n
- Release notes: https://docs.openstack.org/releasenotes/oslo.i18n/
Description
Languages
Python
100%