SAP / ui5-webcomponents

UI5 Web Components - the enterprise-flavored sugar on top of native APIs! Build SAP Fiori user interfaces with the technology of your choice.
https://sap.github.io/ui5-webcomponents/
Apache License 2.0
1.53k stars 265 forks source link

Is it possible to change the text displayed for months in the date picker? #5931

Closed JPStrydom closed 2 years ago

JPStrydom commented 2 years ago

Issue Description

I would like to know if it's possible to change the text that's displayed for months in the date picker. For example, if I want to show a translated calendar, could I display 'Oktober' instead of 'October', 'Januarie' instead of 'January', etc.?

Issue Type

Todor-ads commented 2 years ago

Hello @JPStrydom,

Тhe text in the Month Picker is bound to the calendar types and cannot be changed to something different.

The component supports several calendar types - Gregorian, Buddhist, Islamic, Japanese and Persian. By default the Gregorian Calendar is used. In order to use the Buddhist, Islamic, Japanese or Persian calendar. (https://sap.github.io/ui5-webcomponents/playground/components/Calendar/)

Regards, Todor