合规国际互联网加速 OSASE为企业客户提供高速稳定SD-WAN国际加速解决方案。 广告
### 导航 - [索引](../genindex.xhtml "总目录") - [模块](../py-modindex.xhtml "Python 模块索引") | - [下一页](gettext.xhtml "gettext --- 多语种国际化服务") | - [上一页](ossaudiodev.xhtml "ossaudiodev --- Access to OSS-compatible audio devices") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) » - zh\_CN 3.7.3 [文档](../index.xhtml) » - [Python 标准库](index.xhtml) » - $('.inline-search').show(0); | # 国际化 本章中介绍的模块通过提供选择要在程序信息中使用的语言的机制或通过定制输出以匹配本地约定来帮助你编写不依赖于语言和区域设置的软件。 本章中描述的模块列表是: - [`gettext` --- 多语种国际化服务](gettext.xhtml) - [GNU **gettext** API](gettext.xhtml#gnu-gettext-api) - [Class-based API](gettext.xhtml#class-based-api) - [The `NullTranslations` class](gettext.xhtml#the-nulltranslations-class) - [The `GNUTranslations` class](gettext.xhtml#the-gnutranslations-class) - [Solaris message catalog support](gettext.xhtml#solaris-message-catalog-support) - [The Catalog constructor](gettext.xhtml#the-catalog-constructor) - [Internationalizing your programs and modules](gettext.xhtml#internationalizing-your-programs-and-modules) - [Localizing your module](gettext.xhtml#localizing-your-module) - [Localizing your application](gettext.xhtml#localizing-your-application) - [Changing languages on the fly](gettext.xhtml#changing-languages-on-the-fly) - [Deferred translations](gettext.xhtml#deferred-translations) - [Acknowledgements](gettext.xhtml#acknowledgements) - [`locale` --- 国际化服务](locale.xhtml) - [Background, details, hints, tips and caveats](locale.xhtml#background-details-hints-tips-and-caveats) - [For extension writers and programs that embed Python](locale.xhtml#for-extension-writers-and-programs-that-embed-python) - [Access to message catalogs](locale.xhtml#access-to-message-catalogs) ### 导航 - [索引](../genindex.xhtml "总目录") - [模块](../py-modindex.xhtml "Python 模块索引") | - [下一页](gettext.xhtml "gettext --- 多语种国际化服务") | - [上一页](ossaudiodev.xhtml "ossaudiodev --- Access to OSS-compatible audio devices") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) » - zh\_CN 3.7.3 [文档](../index.xhtml) » - [Python 标准库](index.xhtml) » - $('.inline-search').show(0); | © [版权所有](../copyright.xhtml) 2001-2019, Python Software Foundation. Python 软件基金会是一个非盈利组织。 [请捐助。](https://www.python.org/psf/donations/) 最后更新于 5月 21, 2019. [发现了问题](../bugs.xhtml)? 使用[Sphinx](http://sphinx.pocoo.org/)1.8.4 创建。