就业培训     下载中心     Wiki     联络
登录   注册

Log
  1. 首页
  2. Python 3.5.4
  3. 索引
  4. 模块
  5. 下一
  6. 上一
  7. Python
  8. 3.5.4 Documentation
  9. Python 标准库 »

23. 国际化 ¶

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.

此章描述的模块列表:

  • 23.1. gettext — 多语言国际化服务
    • 23.1.1. GNU gettext API
    • 23.1.2. Class-based API
      • 23.1.2.1. The NullTranslations class
      • 23.1.2.2. The GNUTranslations class
      • 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. Acknowledgements
  • 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 — 访问 OSS (开放声音系统) 兼容音频设备

下一话题

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

本页

  • 报告 Bug
  • 展示源
  1. 首页
  2. Python 3.5.4
  3. 索引
  4. 模块
  5. 下一
  6. 上一
  7. Python
  8. 3.5.4 Documentation
  9. Python 标准库

版权所有  © 2014-2026 乐数软件    

工业和信息化部: 粤ICP备14079481号-1