• Resolved facil2000

    (@facil2000)


    Hello,

    Where is located (file) the calendar? I just need to translate the name of the months that are displayed when the user choose a day in the calendar.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @facil2000,

    You can translate the calendar easily through the same form.

    For example, assuming you want to translate the calendar to French.

    – Insert a “HTML Content” field in the form, and enter as its content the following piece of code:

    
    <script>
    fbuilderjQuery.datepicker.regional['fr'] = {
    	closeText: 'Fermer',
    	prevText: '<Préc',
    	nextText: 'Suiv>',
    	currentText: 'Courant',
    	monthNames: ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Ao?t', 'Septembre', 'Octobre', 'Novembre', 'Décembre'],
    	monthNamesShort: ['Jan', 'Fév', 'Mar', 'Avr', 'Mai', 'Jun', 'Jul', 'Ao?', 'Sep', 'Oct', 'Nov', 'Déc'],
    	dayNames: ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'],
    	dayNamesShort: ['Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'],
    	dayNamesMin: ['Di', 'Lu', 'Ma', 'Me', 'Je', 'Ve', 'Sa'],
    	weekHeader: 'Sm',
    	dateFormat: 'dd/mm/yy',
    	firstDay: 1,
    	isRTL: false,
    	showMonthAfterYear: false,
    	yearSuffix: ''
    };
    fbuilderjQuery.datepicker.setDefaults(fbuilderjQuery.datepicker.regional['fr']);
    </script>
    

    and that’s all.
    Best regards.

    Thread Starter facil2000

    (@facil2000)

    Thanks! I will try it

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Translate Calendar’ is closed to new replies.