private static Element getDescriptionElement(LanguageDescription languageDescription) {
		Element descriptionElement = new Element("description");

		Element element = new Element("id");
		element.setText(languageDescription.getLanguageID().getIdAsString());
		descriptionElement.addContent(element);

		String str = languageDescription.getProcessor().toString();
		if (str != null) {
			element = new Element("processor");
			element.setText(str);
			descriptionElement.addContent(element);
		}

		str = languageDescription.getVariant();
		if (str != null) {
			element = new Element("variant");
			element.setText(str);
			descriptionElement.addContent(element);
		}

		element = new Element("size");
		element.setText(Integer.toString(languageDescription.getSize()));
		descriptionElement.addContent(element);

		return descriptionElement;
	}
Create old-language file for the specified language.
@param lang language
@param file output file
@throws IOException if file error occurs
@throws LanguageNotFoundException if lang is unknown to DefaultLanguageService
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/OldLanguageFactory.java