def mt_services(request):
 machine_services = list(MACHINE_TRANSLATION_SERVICES.keys())
 return JsonResponse(data=machine_services, safe=False)

def mt_services ( request ) : machine_services = list ( MACHINE_TRANSLATION_SERVICES . keys ( ) ) return JsonResponse ( data = machine_services , safe = False )
generates list of installed machine translation services in json .