private Set<String> getAllLanguages() {
        Set<String> languages = new HashSet<>();

        if (!isAvailable) {
            return languages;
        }

        WebClient _client = null;
        try {
            _client = WebClient.create(LINGO24_TRANSLATE_URL_BASE + LINGO24_SOURCELANG_ACTION);
            Response response =
                    _client.accept(MediaType.APPLICATION_JSON).query("user_key", userKey).get();

            String json = response.readEntity(String.class);
            JsonNode jsonArray = new ObjectMapper().readTree(json).get("source_langs");
            for (JsonNode jsonElement : jsonArray) {
                languages.add(jsonElement.get(0).asText());
            }
        } catch (SecurityException e) {
            throw e;
        } catch (Exception e) {
            LOG.warn("problem detecting", e);
        } finally {
            if (_client != null) {
                _client.close();
            }
        }
        return languages;
    }
Load the supported languages from the <a href="https://developer.lingo24.com/premium-machine-translation-api">Premium MT API</a>.
Support is continually expanding.

@return <code>Set<String></code> of supported languages.
tika-langdetect/tika-langdetect-lingo24/src/main/java/org/apache/tika/langdetect/lingo24/Lingo24LangDetector.java