Topic: Datepicker translation
Michaël De Schutter pro premium priority asked 8 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
Open
Specification of the issue
- User: Pro
- 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
Tags
Related topics
kubik123 pro premium priority commented 8 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 8 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