Kyero/src/main/java/org/openestate/io/kyero/converters/Kyero_3.java
protected void removeUnsupportedLanguageElements(Document doc) throws JaxenException {
        String[] unsupportedLanguages = new String[]{
                "ar", "bg", "ca", "cs", "da", "el", "et", "fa", "fi", "he", "hi", "hu",
                "id", "it", "ja", "ko", "lt", "lv", "no", "pl", "pt", "ro", "ru", "sk",
                "sl", "sv", "th", "tr", "uk", "vi", "zh",
        };
        List nodes = XmlUtils.newXPath(
                "/io:root/io:property/io:desc | " +
                        "/io:root/io:property/io:images/io:image/io:title",
                doc).selectNodes(doc);
        for (Object item : nodes) {
            Element node = (Element) item;
            List childNodes = XmlUtils.newXPath(
                    "*", doc).selectNodes(node);
            for (Object childItem : childNodes) {
                Element langNode = (Element) childItem;
                String lang = langNode.getLocalName().toLowerCase();
                if (ArrayUtils.contains(unsupportedLanguages, lang)) {
                    node.removeChild(langNode);
                }
            }
        }
    }
protected void removeUnsupportedLanguageElements(Document doc) throws JaxenException {
        String[] unsupportedLanguages = new String[]{
                "ar", "bg", "ca", "cs", "da", "el", "et", "fa", "fi", "he", "hi", "hu",
                "id", "it", "ja", "ko", "lt", "lv", "no", "pl", "pt", "ro", "ru", "sk",
                "sl", "sv", "th", "tr", "uk", "vi", "zh",
        };
        List nodes = XmlUtils.newXPath(
                "/io:root/io:property/io:desc | " +
                        "/io:root/io:property/io:images/io:image/io:title",
                doc).selectNodes(doc);
        for (Object item : nodes) {
            Element node = (Element) item;
            List childNodes = XmlUtils.newXPath(
                    "*", doc).selectNodes(node);
            for (Object childItem : childNodes) {
                Element langNode = (Element) childItem;
                String lang = langNode.getLocalName().toLowerCase();
                if (ArrayUtils.contains(unsupportedLanguages, lang)) {
                    node.removeChild(langNode);
                }
            }
        }
    }
Remove elements with translations in unsupported languages.
<p>
Kyero 2.1 does only support translation in &lt;title&gt; (for images),
&lt;desc&gt; (for properties) elements for "en", "es", "de", "nl", "fr".

@param doc OpenImmo document in version 3
@throws JaxenException if xpath evaluation failed