private StringTranslationService getDefaultTranslationService(
			List<StringTranslationService> translationServices) {
		String translationServiceName =
			getDefault(EncodedStringsPlugin.TRANSLATE_SERVICE_OPTIONNAME, null);
		if (translationServiceName != null) {
			for (StringTranslationService sts : translationServices) {
				if (translationServiceName.equals(sts.getTranslationServiceName())) {
					return sts;
				}
			}
		}
		return null;
	}
For test/screen shot use

@return button
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/strings/EncodedStringsDialog.java