module documentation

Data structures for message catalogs.

Unknown Field: copyright
  1. 2013-2021 by the Babel Team.
Unknown Field: license
BSD, see LICENSE for more details.
Class ​Catalog Representation of a message catalog.
Class ​Message Representation of a single message in a catalog.
Class ​Translation​Error Exception thrown by translation checkers when invalid message translations are encountered.
Constant DEFAULT​_HEADER Undocumented
Constant PYTHON​_FORMAT Undocumented
Function ​_parse​_datetime​_header Undocumented
Function ​_parse​_header Undocumented
DEFAULT_HEADER: str =

Undocumented

Value
'''# Translations template for PROJECT.
# Copyright (C) YEAR ORGANIZATION
# This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#'''
PYTHON_FORMAT =

Undocumented

Value
re.compile('''
    \\%
        (?:\\(([\\w]*)\\))?
        (
            [-#0\\ +]?(?:\\*|[\\d]+)?
            (?:\\.(?:\\*|[\\d]+))?
            [hlL]?
...
def _parse_datetime_header(value):

Undocumented

def _parse_header(header_string):

Undocumented