Good afternoon,
how can I use the datepicker with calendar Icon in spanish??
Thanks you in advance.
Regards
3 replies · opened Sep 8, 2020
Good afternoon,
how can I use the datepicker with calendar Icon in spanish??
Thanks you in advance.
Regards
Hello,
You can simply set the language Setting in the JS Settings using this guide: https://bootstrap-datepicker.readthedocs.io/en/latest/options.html#language .
For defining your own words, consider using this guide: https://bootstrap-datepicker.readthedocs.io/en/latest/i18n.html .
This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Good night again,
I use the next code but it doesn´t work
$('.component-datepicker.default').datepicker({
autoclose: true,
startDate: "today",
format:'dd/mm/yyyy',
languaje: 'es'
});
$('.component-datepicker.today').datepicker({
autoclose: true,
startDate: "today",
todayHighlight: true
});
$('.component-datepicker.past-enabled').datepicker({
autoclose: true,
});
$('.component-datepicker.format').datepicker({
autoclose: true,
format: "dd-mm-yyyy",
});Could you tell me how could i make it?
Regards.
Hello,
Please make sure that the Documentation is completely followed so that the Languages work fine.
The languaje: 'es' used is incorrect and language: 'es' should be used instead. Make sure that you fix Typing Mistakes.
Link the following attached file on your Page just after the js/components/datepicker.js JS Linking line of code.
This will definitely fix your issue. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard