Skip to Content
0
Dec 13, 2016 at 11:32 AM

Language switch

161 Views Last edit Aug 23, 2017 at 10:47 AM 2 rev

I've got a language problem with my SAPUI5 controls. if i execute e.g.

sap.ui.getCore().getConfiguration().setLanguage("de"); 

my i18n files are loaded correctly and all labels are translated to German but my FacetFilter is still in English. The only way to get a german FacetFilter is the url parameter

sap-ui-language=DE 

But i can't use a parameter in my case. Any idea?

If i use

sap.ui.getCore().getConfiguration().setLanguage("en");

in console all labels switches back to English. And if i use

sap.ui.getCore().getConfiguration().setLanguage("de");

then all labels switches to German except the FacetFilter.