September 2026
1051 pages
35h 4m
English
The gettext module of the standard library is useful for the internationalization and localization of Python programs. Internationalization refers to the process of abstracting the user interface of a program so that it can be easily adapted to other linguistic or cultural environments. Localization is the process of adapting the program to the conditions of a particular country or region. Note that the gettext module is limited to the translation of strings. Other differences, such as date formats or currency symbols, aren’t taken into account.
The gettext module is based on the GNU gettext API,[ 189 ] which is widely used as part of the GNU project and provides tools for the localization of a program. The ...
Read now
Unlock full access