German p:schedule
Hi, do anybody know a js script to transalte a p:schedule in to into German? I testet this code but it didnt work:
<script type="text/javascript">
PrimeFaces.locales['de_CH'] = {
closeText : 'Schließen',
prevText : 'Zurück',
nextText : 'Weiter',
currentText : 'Start',
monthNames : [ 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni',
'Juli', 'August', 'September', 'Oktober', 'November',
'Dezember' ],
monthNamesShort : [ 'Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun',
'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez' ],
dayNames : [ 'Sonntag', 'Montag', 'Dienstag', 'Mittwoch',
'Donnerstag', 'Freitag', 'Samstag' ],
dayNamesShort : [ 'Son', 'Mon', 'Die', 'Mit', 'Don', 'Fre', 'Sam' ],
dayNamesMin : [ 'S', 'M', 'D', 'M ', 'D', 'F ', 'S' ],
weekHeader : 'Woche',
FirstDay : 1,
isRTL : false,
showMonthAfterYear : false,
yearSuffix : '',
timeOnlyTitle : 'Nur Zeit',
timeText : 'Zeit',
hourText : 'Stunde',
minuteText : 'Minute',
secondText : 'Sekunde',
currentText : 'Aktuelles Datum',
ampm : false,
month : 'Monat',
week : 'Woche',
day : 'Tag',
allDayText : 'Ganzer Tag'
};
</script>
i copied this text into my Template.
regards Florian