setting mdb-date-picker locale


Topic: setting mdb-date-picker locale

mdb2 pro asked 6 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 6 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

mdb2 pro commented 6 years ago

I sent you an email with a demo

Arkadiusz Idzikowski staff commented 6 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

mdb2 pro commented 6 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
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No