International Class

class ep_transition.international.Language

Bases: object

This class is a simple enumeration container for the different languages implemented

English = 'en'
French = 'fr'
Spanish = 'sp'
ep_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.

ep_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 Languages enumeration class

ep_transition.international.translate(key)

This function translates a string into a dictionary.

Parameters

key – The string to translate

Returns

The translated string