I’am using a date-picker in my form and I tried to localize it but it doesn’t work. This is what I have now (attachment).
Add picture with code
Metronic uses the datepicker plugin as it is, without any core changes.
Please try to check the plugin’s official documentation here:
Please can you explain the process to configure a different language ?
I just added (data-date-language = “ru”) to the div of the datepicker and added the link to my language (bootstrap-datepicker.ru.min.js) just right after the link to datepicker js file (bootstrap-datepicker.min.js).
Really appreciated your quick answer. I have a little question regarding your answer.
Did you add the bootstrap-datepicker.ru.min.js script in tools\conf\default.json file ?
Thanks in advance for you help 🙂
You must be logged in to reply to this topic.