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.
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
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