Montenegrin (cnr-ME) language support
We need to support a new language - Montenegrin with the code as - cnr-ME.
Can AEM even support it? By checking some of the existing language codes, what I see that aem can support 2 letters like "fr" or 5 letters like "fr-FR" but not 6 letters. I tried adding the language code under - /apps/wcm/core/resources/languages/.content.xml but it is still not getting resolved and we get the null value.
Any insight will be helpful.
Locale locale = LanguageUtil.getLocale("cnr-ME");
System.out.println(locale); // prints null instead of cnr_ME
<cnr
jcr:primaryType="nt:unstructured"
country="*"
defaultCountry="cnr_me"
language="Montenegro"/>
<cnr_me
jcr:primaryType="nt:unstructured"
country="Montenegro"
language="Montenegrin"/>