def available_languages():
 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 list(_LANGUAGE_HANDLER.attributes.get('language_storage', {}))

def available_languages ( ) : 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 list ( _LANGUAGE_HANDLER . attributes . get ( 'language_storage' , { } ) )
returns all available language keys .