oslo.i18n/oslo_i18n
Stephen Finucane 4e907ed2f3 Drop use of babel
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>
2020-04-16 17:31:19 +01:00
..
locale Imported Translations from Zanata 2018-03-01 06:47:51 +00:00
tests Drop use of babel 2020-04-16 17:31:19 +01:00
__init__.py Move out of the oslo namespace package 2014-12-18 16:35:03 -05:00
_factory.py add versionadded designations to newer functions 2015-12-28 15:34:11 +00:00
_gettextutils.py Drop use of babel 2020-04-16 17:31:19 +01:00
_i18n.py Update translation setup 2016-01-31 00:20:42 +09:00
_lazy.py Move out of the oslo namespace package 2014-12-18 16:35:03 -05:00
_locale.py Move out of the oslo namespace package 2014-12-18 16:35:03 -05:00
_message.py Deprecate Message.translate in favor of Message.translation 2019-08-29 19:10:42 +00:00
_translate.py Deprecate Message.translate in favor of Message.translation 2019-08-29 19:10:42 +00:00
fixture.py Better isolate tests and fixtures from environment 2016-03-24 11:42:53 -07:00
log.py Move out of the oslo namespace package 2014-12-18 16:35:03 -05:00