International Class¶
- class energyplus_transition.international.Language¶
Bases:
objectThis class is a simple enumeration container for the different languages implemented
- English = 'en'¶
- French = 'fr'¶
- Spanish = 'sp'¶
- energyplus_transition.international.report_missing_keys()¶
This function simply scans dictionaries to see if any keys are missing from them compared to a baseline. The baseline is currently the English dictionary. This function simply reports to the terminal.
- energyplus_transition.international.set_language(lang)¶
This is the interface for changing the language, call this, save settings, then restart the program :param lang: A language identifier from the
Languagesenumeration class
- energyplus_transition.international.translate(key)¶
This function translates a string into a dictionary.
- Parameters:
key – The string to translate
- Returns:
The translated string