Expand my Community achievements bar.

Locale issue

Avatar

Level 6

I'm using LocaleUtils.isavailableLocale to check if locale is valid or not it's working for few locales but for en_SA it's showing as invalid locale and en_SA is not present in available locales list. Is there any other list which contains en_SA as locale.

Thanks in advance.

2 Replies

Avatar

Employee

Hi @Keerthi0555 could you clarify the use-case. I believe you are referring to the API LocaleUtils.isAvailableLocale of Apache Commons Lang package, so context with respect to AEM Forms would be useful to provide reference.

Avatar

Administrator

@Keerthi0555 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni