Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Ahmedlag/ebe726ead4537b08148551883d36e77f to your computer and use it in GitHub Desktop.
Save Ahmedlag/ebe726ead4537b08148551883d36e77f to your computer and use it in GitHub Desktop.
French translation for Materialize CSS datepicker plugin
$('.datepicker').pickadate({
selectMonths: true, // Creates a dropdown to control month
selectYears: 2, // Creates a dropdown of 15 years to control year
labelMonthNext: 'Mois suivant',
labelMonthPrev: 'Mois précédent',
labelMonthSelect: 'Selectionner le mois',
labelYearSelect: 'Selectionner une année',
monthsFull: [ 'Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre' ],
monthsShort: [ 'Jan', 'Fev', 'Mar', 'Avr', 'Mai', 'Jun', 'Jul', 'Aou', 'Sep', 'Oct', 'Nov', 'Dec' ],
weekdaysFull: [ 'Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi' ],
weekdaysShort: [ 'Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam' ],
weekdaysLetter: [ 'D', 'L', 'M', 'M', 'J', 'V', 'S' ],
today: 'Aujourd\'hui',
clear: 'Réinitialiser',
close: 'Fermer',
format: 'dd/mm/yyyy'
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment