on 12-07-2017 3:41 PM
Need to know the localisation will work in Hybris. In our project, we have 3 countries site. & it have properties seperately. How it fetching the properties file according to that.
Store contains supported languages .
At site level you can see mapping between langue and locale
When site is loading language will be set to session,
messageResource (StorefrontResourceBundleSource) will fetch properties based on current language from session.
messageSource.getMessage("property.key", null, i18nService.getCurrentLocale()), null)
https://help.hybris.com/6.3.0/hcd/8bfc4c3c8669101493d9a2d97afcc5df.html
https://help.hybris.com/6.3.0/hcd/8bfc204086691014a345f64b08505839.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
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.