Topic: DatePicker locale dayLabels doesn't work

ISDev pro asked 5 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  

Arkadiusz Idzikowski staff answered 5 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

ISDev pro answered 5 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 5 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

Damian Gemza staff answered 5 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 5 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 5 years ago

We'll check it.



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

  • ForumUser: 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