Last active
February 8, 2019 15:53
-
-
Save schmidt1024/568565102e7b379f622c to your computer and use it in GitHub Desktop.
Materialize Datepicker Translation (german)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.datepicker').pickadate({ | |
labelMonthNext: 'Nexter Monat', | |
labelMonthPrev: 'Vorheriger Monat', | |
labelMonthSelect: 'Monat wählen', | |
labelYearSelect: 'Jahr wählen', | |
monthsFull: [ 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember' ], | |
monthsShort: [ 'Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez' ], | |
weekdaysFull: [ 'Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag' ], | |
weekdaysShort: [ 'So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa' ], | |
weekdaysLetter: [ 'S', 'M', 'D', 'M', 'D', 'F', 'S' ], | |
today: 'Heute', | |
clear: 'Löschen', | |
close: 'Zurück', | |
format: 'd. mmmm yyyy', | |
firstDay: 1 | |
}); |
this was very helpfull, thank you, can you explain me how you know that you must put weekdaysFull instad of weekdays like it says in materializecss.com????
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @Bloggerschmidt,
thank you very much! That helped a lot! I suggest you to write
labelMonthNext: 'Nächster Monat',
instead ofNexter
. That'd be German mixed with English. Another point is the date format that I changed toformat: 'dd.mm.yyyy',
. Anything except of those points is alright. Thumbs up.