'Allows to process the spoken text, for example
by obfuscating language based on your and the
speaker\'s language skills. Also a good place to
put coloring.
Args:
text (str): The text to process.
speaker (Object): The object delivering the text.
language (str): An identifier string for the language.
Return:
text (str): The optionally processed text.
Notes:
This is designed to work together with a string obfuscator
such as the `obfuscate_language` or `obfuscate_whisper` in
the evennia.contrib.rplanguage module.'

def process_language(self, text, speaker, language, **kwargs):

    return ('%s|w%s|n' % ((('|W(%s)' % language) if language else ''), text))
