Github user joewitt commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2715#discussion_r189384435
--- Diff:
nifi-nar-bundles/nifi-language-translation-bundle/nifi-yandex-processors/src/main/java/org/apache/nifi/processors/yandex/util/Languages.java
---
@@ -25,6 +25,7 @@
private static final Map<String, String> languageAbbreviationMap = new
HashMap<>();
static {
+ languageAbbreviationMap.put("", "blank");
--- End diff --
perhaps this should be 'auto-detect' and 'auto-detect'. In your previous
logic looking for "" it could look for equals("auto-detect") or some constant
string value
---