docs: def export_translations(request, language):
  	"""
  	Export translations view.
  	"""
  	FieldTranslation.delete_orphan_translations()
  	translations = FieldTranslation.objects.filter(lang=language)
  	for trans in translations:
  		trans.source_text = trans.source_text.replace("'","\'").replace("\"","\\\"")
  		trans.translation = trans.translation.replace("'","\'").replace("\"","\\\"")
  	replacements = {"translations":translations, "lang":language}
  	if len(settings.ADMINS)>0:
  		replacements["last_translator"] = settings.ADMINS[0][0]
  		replacements["last_translator_email"] = settings.ADMINS[0][1]
  	if settings.WEBSITE_NAME:
  		replacements["website_name"] = settings.WEBSITE_NAME
  	response = render(request=request, template_name='modeltranslation/admin/export_translations.po', dictionary=replacements, context_instance=RequestContext(request), content_type="text/x-gettext-translation")
  	response['Content-Disposition'] = 'attachment; filename="{0}.po"'.format(language)
  	return response