JMap.Language.isValidLocale
returns true is the passed locale is supported by JMap Server NG, false otherwise
the locale to be tested
console.log(JMap.Language.isValidLocale("fr"))// trueconsole.log(JMap.Language.isValidLocale("ch"))// false Copy
console.log(JMap.Language.isValidLocale("fr"))// trueconsole.log(JMap.Language.isValidLocale("ch"))// false
JMap.Language.isValidLocale
returns true is the passed locale is supported by JMap Server NG, false otherwise