on ‎2018 Jun 07 10:51 PM
Hi Experts , I am facing a localization issue for Indonesian locale. When I am using below code Locale employeeLocale = commoni18NService.getLocaleForLanguage(commoni18NService.getLanguage(employeeModel.getLanguage()) -- It is reurning me "IN" as employeeLocale .
when Iam trying to pass this employeeLocale to l10nService.getResourceBundle(employeeLocale ) // I am getting composite resource bundle exception.
java.util.MissingResourceException: Can't find resource for bundle de.hybris.platform.servicelayer.i18n.impl.CompositeResourceBundle at java.util.ResourceBundle.getObject(Unknown Source) at java.util.ResourceBundle.getString(Unknown Source)
FYI , I have found that l10nService.getResourceBundle(employeeLocale ) is returning or considering "ID" as valid Indonesian locale instead of "IN".
Any help to resolve this issue is appreciated.
Thanks in advance!!!!
Request clarification before answering.
Correct locale would be in_ID, use this and it should solve the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.