def set_language(self, language, dialect=None):
self.currentAction = '<STR_LIT>'<EOL>l = <NUM_LIT:0><EOL>if language == '<STR_LIT>':<EOL><INDENT>l = <NUM_LIT:0><EOL><DEDENT>elif language == '<STR_LIT>':<EOL><INDENT>l = <NUM_LIT:1><EOL>if dialect == '<STR_LIT>':<EOL><INDENT>l = <NUM_LIT:2><EOL><DEDENT><DEDENT>self.queue.put('<STR_LIT>' % (l))<EOL>
Set the language used for TTS.
en: English
es: Spanish | [ lan: latino or ca: castilian ]