这个文档所针对的是一个已不再受支持的 Python 旧版本。 你应当升级版本,并阅读 Python 当前稳定版本的文档.

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python »
  • 3.5.10 Documentation »
  • Python 標準函式庫 (Standard Library) »
  • |

23. 國際化¶

本章中介绍的模块通过提供选择要在程序信息中使用的语言的机制或通过定制输出以匹配本地约定来帮助你编写不依赖于语言和区域设置的软件。

本章中描述的模块列表是:

  • 23.1. gettext — 多语种国际化服务
    • 23.1.1. GNU gettext API
    • 23.1.2. 基于类的 API
      • 23.1.2.1. NullTranslations 类
      • 23.1.2.2. GNUTranslations 类
      • 23.1.2.3. Solaris message catalog support
      • 23.1.2.4. The Catalog constructor
    • 23.1.3. Internationalizing your programs and modules
      • 23.1.3.1. Localizing your module
      • 23.1.3.2. Localizing your application
      • 23.1.3.3. Changing languages on the fly
      • 23.1.3.4. Deferred translations
    • 23.1.4. 致谢
  • 23.2. locale — 国际化服务
    • 23.2.1. Background, details, hints, tips and caveats
    • 23.2.2. For extension writers and programs that embed Python
    • 23.2.3. Access to message catalogs

上個主題

22.9. ossaudiodev — Access to OSS-compatible audio devices

下個主題

23.1. gettext — 多语种国际化服务

本頁

  • 提交 Bug
  • 顯示原始碼

瀏覽

  • 索引
  • 模組 |
  • 下一頁 |
  • 上一頁 |
  • Python »
  • 3.5.10 Documentation »
  • Python 標準函式庫 (Standard Library) »
  • |
© 版權所有 2001-2020, Python Software Foundation.
Python 软件基金会是一个非盈利组织。 请捐助。
最後更新於 12月 18, 2020。 发现了问题?
使用Sphinx1.8.4 创建。