DatePicker locale dayLabels doesn't work


Topic: DatePicker locale dayLabels doesn't work

BEAUNE pro asked 6 years ago

Hi, When I want to change the locale of a datepicker, the dayLabels doesn't change. On the demo project, it's the same problem to translate en to de. That the same on v6.2.6 Thank's  

Damian Gemza staff answered 6 years ago

Dear BEAUNE, Thanks for your report! I'll add this problem to our bugs list, and we'll fix it in the future. Unfortunately, for now I cannot provide you with any workaround of this situation, because this problem has to be resolved on our side. Best Regards, Damian

tano pro commented 6 years ago

would be nice if you could use the registered locale data from angular common locale for format and labels.


Damian Gemza staff commented 6 years ago

We'll check it.


Arkadiusz Idzikowski staff answered 6 years ago

Dear BEAUNE, Please try to use addLocale method in OnInit hook instead of AfterViewInit and let me know if that helped. Regards, Arek

BEAUNE pro answered 6 years ago

Hi, I have tested the addLocale on OnInit, that doesn't work, the dayLabels disappear on the date picker

Arkadiusz Idzikowski staff answered 6 years ago

Hello, Could you send me a demo app on which I would be able to debug this problem? You can send it to me on a.idzikowski@mdbootstrap.com. Regards, Arek
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.3
  • Device: Terra
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No