@Override
	public boolean isValueTranslationRequired(Register oldReg) {

		if ((clearAllContext || contextSettings != null) && oldReg.isBaseRegister() &&
			oldReg.isProcessorContext()) {
			return true;
		}
		return super.isValueTranslationRequired(oldReg);
	}
<code>SimpleLanguageTranslator</code> provides a simple translator which
derives its mappings from an XML translation specification file.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/SimpleLanguageTranslator.java