Topic: setting mdb-date-picker locale

itay pro asked 5 years ago


I'm trying to set mdb-date-picker locale as per https://mdbootstrap.com/angular/advanced/datepicker/#translation using: [locale]="'iw'" or 'he' Doesn't work What should I do ?

Arkadiusz Idzikowski staff answered 5 years ago


Dear mdb2, I need to see your html and ts code associated with our component in order to help you resolve this problem. I just checked example from our docs and for me it works fine. Please note you need to add translation options to your component ts file. Best, Arek

itay pro commented 5 years ago

I sent you an email with a demo

Arkadiusz Idzikowski staff commented 5 years ago

Thanks for demo app. As i mentioned in previous post, you need to specify some datepicker options in ts file so that the new language can display correctly. It is well described in example in our docs (ts tab): https://mdbootstrap.com/angular/advanced/datepicker/#translation Best, Arek

itay pro commented 5 years ago

I thought that the translation is automatic, not manually. Thanks


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags