BeautyPress HTML

Beautypress HTML template datepicker language change

116 views Feb 12, 2018 AR 5

So we took “fr” translation from here

https://github.com/uxsolutions/bootstrap-datepicker/tree/master/js/locales

And go to js/main.js and Search datepicker

You will see something like

Replace this with this one

First, add the locale’s code before the initialization. and in the initialization add an option like language: ‘fr’

 

 

The whole code will look like this.

 

More details about translation please follow this. https://bootstrap-datepicker.readthedocs.io/en/stable/i18n.html

 

Hope it helps 🙂

Thanks

Was this helpful?