On this page
  1. gettext.gettext
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

gettext.gettext

Prev: gettext.find | Up: gettext | Next: gettext.GNUTranslations
Rel: gettext.bindtextdomain, gettext.Catalog, gettext.dgettext, gettext.dngettext
Ref: docs.python.org — gettext.gettext
Tags: #public #python3 #stdlib #gettext


Import

import gettext
from gettext import gettext

Signature & Overview

gettext.gettext(message)

gettext.gettext() function.

Usage

import gettext

assert gettext.gettext("Hello") == "Hello"

Gotchas

REPL Inspect

from gettext import gettext
help(gettext)

Linked from

Related notes