languagemanager¶
The languagemanager module provides all the translation settings and language file loading for OpenLP.
- class openlp.core.utils.languagemanager.LanguageManager[source]¶
Bases: builtins.object
Helper for Language selection
- auto_language = False¶
- static get_translator(language)[source]¶
Set up a translator to use in this instance of OpenLP
Parameters: language – The language to load into the translator