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 serviceslocale— Internationalization servicesErrorsetlocale()localeconv()nl_langinfo()CODESETD_T_FMTD_FMTT_FMTT_FMT_AMPMRADIXCHARTHOUSEPYESEXPRNOEXPRCRNCYSTRERAERA_D_T_FMTERA_D_FMTERA_T_FMTALT_DIGITSgetdefaultlocale()getlocale()getpreferredencoding()getencoding()normalize()strcoll()strxfrm()format_string()currency()str()delocalize()localize()atof()atoi()LC_CTYPELC_COLLATELC_TIMELC_MONETARYLC_MESSAGESLC_NUMERICLC_ALLCHAR_MAX- Background, details, hints, tips and caveats
- For extension writers and programs that embed Python
- Access to message catalogs