SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.95k stars 1.23k forks source link

sap.m.FacetFilter doesn't show correct i18n texts after language change #1258

Closed nzamani closed 7 years ago

nzamani commented 7 years ago

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:

  1. go to the link above
  2. open dev console
  3. enter 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.

ShtiliyanUzunov commented 7 years ago

Hi nzamani,

I was able to reproduce the issue. Internal ref: 1680336898

BR, Shtiliyan

gerym commented 7 years ago

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

Kind Regards, Gery

boghyon commented 7 years ago

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.

nzamani commented 7 years ago

+1

NoelHendrikx commented 7 years ago

+1

aka-darth commented 7 years ago

+1

spixi commented 6 years ago

+1

estevan086 commented 5 years ago

+1

BloggingWithJan commented 1 year ago

+1

dfenerski commented 1 year ago

+1

codeworrior commented 1 year ago

As mentioned here, our management decided NOT to invest into this topic.