On 2015-12-29 18:42, Richard Eckart de Castilho wrote: > If I wanted to set up a default mapping from two-letter country codes > to five-letter codes,
Languages.get() gets you all the languages, getDefaultLanguageVariant() then gets you either the default variant or null if there are no variants for that language. Regards Daniel ------------------------------------------------------------------------------ _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel