Logo

上個主題

21.10. ossaudiodev — Access to OSS-compatible audio devices

下個主題

22.1. gettext — Multilingual internationalization services

本頁

  • 顯示原始碼

快速搜尋

This document is for an old version of Python that is no longer supported. You should upgrade, and read the Python documentation for the current stable release.

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • python logo
  • Python »
  • Python 2.7.18 說明文件 »
  • The Python Standard Library »
  • |

22. Internationalization¶

The modules described in this chapter help you write software that is independent of language and locale by providing mechanisms for selecting a language to be used in program messages or by tailoring output to match local conventions.

The list of modules described in this chapter is:

  • 22.1. gettext — Multilingual internationalization services
    • 22.1.1. GNU gettext API
    • 22.1.2. Class-based API
      • 22.1.2.1. The NullTranslations class
      • 22.1.2.2. The GNUTranslations class
      • 22.1.2.3. Solaris message catalog support
      • 22.1.2.4. The Catalog constructor
    • 22.1.3. Internationalizing your programs and modules
      • 22.1.3.1. Localizing your module
      • 22.1.3.2. Localizing your application
      • 22.1.3.3. Changing languages on the fly
      • 22.1.3.4. Deferred translations
      • 22.1.3.5. gettext() vs. lgettext()
    • 22.1.4. Acknowledgements
  • 22.2. locale — Internationalization services
    • 22.2.1. Background, details, hints, tips and caveats
    • 22.2.2. For extension writers and programs that embed Python
    • 22.2.3. Access to message catalogs

上個主題

21.10. ossaudiodev — Access to OSS-compatible audio devices

下個主題

22.1. gettext — Multilingual internationalization services

本頁

  • 顯示原始碼

快速搜尋

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • python logo
  • Python »
  • Python 2.7.18 說明文件 »
  • The Python Standard Library »
  • |
© 版權所有 1990-2025, Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

The Python Software Foundation is a non-profit corporation. Please donate.

最後更新於 8月 10, 2025。
Created using Sphinx 2.3.1.