def add_language(**kwargs):
 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)
 _LANGUAGE_HANDLER.add(**kwargs)

def add_language ( ** kwargs ) : 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 ) _LANGUAGE_HANDLER . add ( ** kwargs )
access function to creating a new language .