date picker in spanish

3 replies · opened Sep 8, 2020

LlbanuelosvillaverdeSep 8, 2020

Good afternoon,

how can I use the datepicker with calendar Icon in spanish??

Thanks you in advance.

Regards

LlbanuelosvillaverdeSep 18, 2020

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.

SSemicolon WebSTAFFSep 18, 2020

Hello,

Please make sure that the Documentation is completely followed so that the Languages work fine.

  1. The languaje: 'es' used is incorrect and language: 'es' should be used instead. Make sure that you fix Typing Mistakes.

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