private void initLanguageMap() {
		LanguageService langSvc = DefaultLanguageService.getLanguageService();
		List<OldLanguage> oldLanguages = new ArrayList<OldLanguage>();
		getOldLanguages(oldLanguages);
		for (OldLanguage oldLang : oldLanguages) {
			LanguageDescription oldDescr = oldLang.getDescription();
			try {
				LanguageDescription curDescr =
					langSvc.getLanguageDescription(oldLang.getLanguageID());
				if (curDescr.getVersion() <= oldDescr.getVersion()) {
					// Ignore old versions which are inappropriate
					log.warn(
						"WARNING! Ignoring old language spec, version still exists: " + oldLang);
					continue;
				}
			}
			catch (LanguageNotFoundException e) {
			}
			LanguageTag tag = new LanguageTag(oldLang.getLanguageID(), oldLang.getVersion());
			languageMap.put(tag, oldLang);
			OldLanguage latest = latestVersionMap.get(oldLang.getLanguageID());
			if (latest == null || latest.getVersion() < oldLang.getVersion()) {
				latestVersionMap.put(oldLang.getLanguageID(), oldLang);
			}
		}
	}
Validate all old language definitions contained within the old language map.  
This is intended to be used by a unit test.
@return number of validation errors
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/OldLanguageFactory.java