6.23 gettext --- Multilingual internationalization services

The gettext module provides internationalization (I18N) and localization (L10N) services for your Python modules and applications. It supports both the GNU gettext message catalog API and a higher level, class-based API that may be more appropriate for Python files. The interface described below allows you to write your module and application messages in one natural language, and provide a catalog of translated messages for running under different natural languages.

Some hints on localizing your Python modules and applications are also given.


Sous-sections
  1. GNU gettext API
  2. Class-based API
  3. Internationalizing your programs and modules
  4. Acknowledgements