def obfuscate_language(text, level=0.0, language='default'):
 global _LANGUAGE_HANDLER
 if (not _LANGUAGE_HANDLER):
  try:
   _LANGUAGE_HANDLER = LanguageHandler.objects.get(db_key='language_handler')
  except LanguageHandler.DoesNotExist:
   if (not _LANGUAGE_HANDLER):
    from evennia import create_script
    _LANGUAGE_HANDLER = create_script(LanguageHandler)
 return _LANGUAGE_HANDLER.translate(text, level=level, language=language)

def obfuscate_language ( text , level = 0.0 , language = 'default' ) : global _LANGUAGE_HANDLER if ( not _LANGUAGE_HANDLER ) : try : _LANGUAGE_HANDLER = LanguageHandler . objects . get ( db_key = 'language_handler' ) except LanguageHandler . DoesNotExist : if ( not _LANGUAGE_HANDLER ) : from evennia import create_script _LANGUAGE_HANDLER = create_script ( LanguageHandler ) return _LANGUAGE_HANDLER . translate ( text , level = level , language = language )
main access method for the language parser .