def list_languages_with_target(target):
 translate_client = translate.Client()
 results = translate_client.get_languages(target_language=target)
 for language in results:
  print u'{name} ({language})'.format(**language)

def list_languages_with_target ( target ) : translate_client = translate . Client ( ) results = translate_client . get_languages ( target_language = target ) for language in results : print u'{name} ({language})' . format ( ** language )
lists all available languages and localizes them to the target language .