Closed nzamani closed 7 years ago
Hi nzamani,
I was able to reproduce the issue. Internal ref: 1680336898
BR, Shtiliyan
Hi nzamani,
This is not an issue. Please read the following info from the core/Configuration.js file:
The framework does not guarantee that already created, language
localizationChanged
event and adaptKind Regards, Gery
Could we re-open this issue as "enhancement"? Even if it's documented, it is a weird behavior that some controls change their locale automatically and some have to be rebuilt for that. It would be nice if we could just hot-swap the language/locale completely at anytime without listening to localizationChanged
.
+1
+1
+1
+1
+1
+1
+1
As mentioned here, our management decided NOT to invest into this topic.
OpenUI5 version: 1.42.8 (maybe older version as well)
Browser/version (+device/version): all
URL: https://sapui5.hana.ondemand.com/explored.html#/sample/sap.m.sample.FacetFilterLight/preview
Steps to reproduce the problem:
sap.ui.getCore().getConfiguration().setLanguage("de");
into the console (choose "en" if your browser already uses "de")What is the expected result? The text in the summaryBar (filterBar) should be displayed in the language you chose above
What happens instead? Nothing. The language stays as it is.
Any other information? I already analyzed this at stackoverflow and I offered also some minimal code that should fix the issue.