Setter for sap.ui.core.LocaleData
sap.ui.core.LocaleData - https://ui5.sap.com/#/api/sap.ui.core.LocaleData/overview has a whole lot of getters but no setter.
Instead of accessing the mData object and updating the item in question would it be possible to add a setter to change a setting in the current locale settings?
So rather than doing oLocale.mData['settingname'] = setting,
we could have oLocale.set('settingname', setting) ?
Thanks.
Hi @njames, Thanks for sharing your finding. I have created an internal incident 1880532649. The status of the issue will be updated here in GitHub. Regards, Jay
Hi @njames,
before we discuss this internally, it would be helpful to understand where the need comes from to modify the LocaleData. From our point of view, this is read-only data and must not be changed.
The data is taken from the Common Locale Data Repository of the Unicode.org and our preferred way for fixes is to follow their official path and request (and discuss) changes.
@njames I am closing the issue due to inactivity. If you decide to continue the discussion, feel free to reopen the issue or create a new issue with a reference to this one. Thanks for the understanding