Current Dir: /snap/core22/2955/usr/lib/python3/dist-packages/babel/
[DIR] locale-data [ delete | rename ]
[DIR] localtime [ delete | rename ]
[DIR] messages [ delete | rename ]
[DIR] __pycache__ [ delete | rename ]
[FILE] core.py [ edit | delete | rename ]
[FILE] dates.py [ edit | delete | rename ]
[FILE] global.dat [ edit | delete | rename ]
[FILE] languages.py [ edit | delete | rename ]
[FILE] lists.py [ edit | delete | rename ]
[FILE] localedata.py [ edit | delete | rename ]
[FILE] numbers.py [ edit | delete | rename ]
[FILE] plural.py [ edit | delete | rename ]
[FILE] support.py [ edit | delete | rename ]
[FILE] units.py [ edit | delete | rename ]
[FILE] util.py [ edit | delete | rename ]
[FILE] _compat.py [ edit | delete | rename ]
[FILE] __init__.py [ edit | delete | rename ]
Viewing: /snap/core22/2955/usr/lib/python3/dist-packages/babel/__init__.py
# -*- coding: utf-8 -*-
"""
babel
~~~~~
Integrated collection of utilities that assist in internationalizing and
localizing applications.
This package is basically composed of two major parts:
* tools to build and work with ``gettext`` message catalogs
* a Python interface to the CLDR (Common Locale Data Repository), providing
access to various locale display names, localized number and date
formatting, etc.
:copyright: (c) 2013-2019 by the Babel Team.
:license: BSD, see LICENSE for more details.
"""
from babel.core import UnknownLocaleError, Locale, default_locale, \
negotiate_locale, parse_locale, get_locale_identifier
__version__ = '2.8.0'