8.1.1.1. sphinx.locale.init¶
-
sphinx.locale.init(locale_dirs, language, catalog='sphinx', charset='utf-8')[source]¶ Look for message catalogs in locale_dirs and ensure that there is at least a NullTranslations catalog set in translators. If called multiple times or if several
.mofiles are found, their contents are merged together (thus makinginitreentrable).