gettext — Message Catalogs — PyMOTW 3

The gettext module provides a pure-Python implementation compatible with the GNU gettext library for message translation and catalog management. The tools available with the Python source distribution enable you to extract messages from a set of source files, build a message catalog containing translations, and use that message catalog to display an appropriate message for the user at runtime.

Read more…

This post is part of the Python Module of the Week series for Python 3. See for more articles from the series.