Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Datepicker translation

Michaël De Schutter priority asked 9 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 9 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 9 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