On this page
gettext.Catalog
Prev: gettext.bindtextdomain | Up: gettext | Next: gettext.dgettext
Rel: gettext.bindtextdomain, gettext.dgettext, gettext.dngettext, gettext.dnpgettext
Ref: docs.python.org — gettext.Catalog
Tags: #public #python3 #stdlib #gettext
Import
import gettext
from gettext import Catalog
Signature & Overview
gettext.Catalog(domain, localedir=None, languages=None, class_=None, fallback=False)
gettext.Catalog() function.
Usage
import gettext
assert gettext.Catalog is gettext.translation
Gotchas
- Legacy alias for
gettext.translation(): Prefergettext.translation().
REPL Inspect
from gettext import Catalog
help(Catalog)
Linked from
- tuts/python3/stdlib_module/gettext
- tuts/python3/stdlib_module/gettext/bindtextdomain
- tuts/python3/stdlib_module/gettext/dgettext
- tuts/python3/stdlib_module/gettext/dngettext
- tuts/python3/stdlib_module/gettext/dnpgettext
- tuts/python3/stdlib_module/gettext/dpgettext
- tuts/python3/stdlib_module/gettext/find
- tuts/python3/stdlib_module/gettext/gettext
- tuts/python3/stdlib_module/gettext/GNUTranslations
- tuts/python3/stdlib_module/gettext/install
- tuts/python3/stdlib_module/gettext/ngettext
- tuts/python3/stdlib_module/gettext/npgettext
- tuts/python3/stdlib_module/gettext/NullTranslations
- tuts/python3/stdlib_module/gettext/pgettext
- tuts/python3/stdlib_module/gettext/textdomain
- tuts/python3/stdlib_module/gettext/translation
Related notes
- tuts/python3/stdlib_module/gettext/bindtextdomain Linked here; links to this page; shared tags: #gettext, #stdlib
- tuts/python3/stdlib_module/gettext/dgettext Linked here; links to this page; shared tags: #gettext, #stdlib
- tuts/python3/stdlib_module/gettext/dngettext Linked here; links to this page; shared tags: #gettext, #stdlib
- tuts/python3/stdlib_module/gettext/dnpgettext Linked here; links to this page; shared tags: #gettext, #stdlib
- tuts/python3/stdlib_module/gettext/gettext Linked here; links to this page; shared tags: #gettext, #stdlib
- tuts/python3/stdlib_module/gettext/dpgettext links to this page; shared tags: #gettext, #stdlib
- tuts/python3/stdlib_module/gettext/find links to this page; shared tags: #gettext, #stdlib
- tuts/python3/stdlib_module/gettext/GNUTranslations links to this page; shared tags: #gettext, #stdlib
- tuts/python3/stdlib_module/gettext/install links to this page; shared tags: #gettext, #stdlib
- tuts/python3/stdlib_module/gettext/ngettext links to this page; shared tags: #gettext, #stdlib