April 12 2017, 09:43

The Fallback language function is designed to display content in language X if language Y is not available. If there is no explicit localization for a certain locale, SAP Hybris Commerce relies on locales defined as fallback locales for that locale.

However, this approach has two major flaws:

• The fallback mechanism is not compatible with the Java Resource Bundle.

SAP admits that there is a flaw in the fallback mechanism. According to the documentation, “the fallback mechanism for de_DE is always de, [javaVMLocale] regardless of what has been specified within the Hybris system.”

• SAP Hybris does not support separate fallback rules for different countries/websites.

The article explains how to overcome these issues.

https://hybrismart.com/2017/04/12/overcoming-flaws-of-fallback-language-mechanism/

Leave a comment