导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • Python 3.0.1 文档 »
  • The Python Standard Library »
  • |

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:

  • gettext — Multilingual internationalization services
    • GNU gettext API
    • Class-based API
      • The NullTranslations class
      • The GNUTranslations class
      • Solaris message catalog support
      • The Catalog constructor
    • Internationalizing your programs and modules
      • Localizing your module
      • Localizing your application
      • Changing languages on the fly
      • Deferred translations
    • Acknowledgements
  • locale — Internationalization services
    • Background, details, hints, tips and caveats
    • For extension writers and programs that embed Python
    • Access to message catalogs

上一个主题

ossaudiodev — Access to OSS-compatible audio devices

下一个主题

gettext — Multilingual internationalization services

本页

  • 显示源代码

快速搜索

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • Python 3.0.1 文档 »
  • The Python Standard Library »
  • |
© 版权所有 1990-2025, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.

最后更新于 8月 10, 2025.
Created using Sphinx 1.8.4.