导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • 3.9.6 Documentation »
  • Python 标准库 »
  • |

国际化¶

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

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

  • gettext --- 多语种国际化服务
    • GNU gettext API
    • 基于类的 API
      • NullTranslations 类
      • GNUTranslations 类
      • Solaris 消息编目支持
      • 编目构造器
    • 国际化 (I18N) 你的程序和模块
      • 本地化你的模块
      • 本地化你的应用程序
      • 即时更改语言
      • 延迟翻译
    • 致谢
  • locale --- 国际化服务
    • Background, details, hints, tips and caveats
    • For extension writers and programs that embed Python
    • Access to message catalogs

上一个主题

ossaudiodev --- 访问兼容OSS的音频设备

下一个主题

gettext --- 多语种国际化服务

本页

  • 提交 Bug
  • 显示源代码

导航

  • 索引
  • 模块 |
  • 下一页 |
  • 上一页 |
  • Python »
  • 3.9.6 Documentation »
  • Python 标准库 »
  • |
© 版权所有 2001-2021, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.

最后更新于 8月 10, 2021. Found a bug?
Created using Sphinx 2.4.4.