function downloadFile(oEvent) {
		var oModel = oEvent.getSource().getModel("translation");
		var sSourceLanguage = oModel.getProperty("/sourceLanguage");
		var sTargetLanguage = oModel.getProperty("/targetLanguage");
		var sFileName = `${sSourceLanguage}_${sTargetLanguage}_TranslationXLIFF`;

		var mPropertyBag = {
			layer: Layer.CUSTOMER,
			sourceLanguage: sSourceLanguage,
			targetLanguage: sTargetLanguage,
			selector: this.getToolbar().getRtaInformation().rootControl
		};

		var oSavePromise = new Promise(function(resolve) {
			if (oModel.getProperty("/translationRelevantDirtyChangesExist")) {
				oSavePromise = this.getToolbar().fireSave({
					callback: resolve
				});
			} else {
				resolve();
			}
		}.bind(this));

		oSavePromise
		.then(TranslationAPI.getTexts.bind(undefined, mPropertyBag))
		.then(function(translationTextsXML) {
			FileUtil.save(translationTextsXML, sFileName, "xml", "application/xml");
			this._oDownloadDialog.close();
		}.bind(this)).catch(function(e) {
			showError(e);
		});
	}
Controller for the <code>sap.ui.rta.toolbar.translation.Translation</code> controls.
Contains implementation of translation functionality.

@class

@author SAP SE
@version ${version}

@constructor
@private
@since 1.93
@alias sap.ui.rta.toolbar.translation.Translation