Topic: Datepicker translation

Michaël De Schutter priority asked 7 months ago


The english text translated to dutch.

I tried many possible ways but it does not want to translate, I dont see any changes.

this is the bootstrap datepicker that needs to be translated

this is the java script code of the translation to dutch


kubik123 priority commented 7 months ago

Hey,

delete the data-mdb-datepicker-init attribute from ur div. You already build the component in JS. Then you need to get the div element and not the input one. So document. document.querySelector('.datepicker-translated').

Try and lemme know.


Kamila Pieńkowska staff commented 7 months ago

This is good advice. It is best to modify existing examples from documentation rather then start from scratch. https://mdbootstrap.com/docs/standard/forms/datepicker/#section-translations



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 7.1.0
  • Device: Laptop
  • Browser: Google
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No