private void createTranslateActionsIfNeeded() {
		List<StringTranslationService> newServices =
			StringTranslationService.getCurrentStringTranslationServices(tool);
		boolean isSame = newServices.containsAll(translationServices) &&
			translationServices.containsAll(newServices);

		if (!isSame) {
			createTranslateActions(newServices);
		}
	}
Plugin that provides string translation services on {@link Data} items that are
strings or arrays of chars.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/string/translate/TranslateStringsPlugin.java