cancel
Showing results for 
Search instead for 
Did you mean: 

how localisation works in hybris

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos
  • 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

Answers (0)