Wijmo User Guide > Concepts > Localization and Globalization > Custom EventsCalendar Strings |
The many strings in the EventsCalendar widget that are localizable are handled using the localization option. You can localize or customize these strings using code like the following.
Custom String Script |
Copy Code
|
---|---|
<script type="text/javascript"> $(document).ready(function () { $("#eventscalendar").wijevcal({ culture: "de-DE", localization: { agendaTimeFormat: "{0:hh:mm tt} - {1:hh:mm tt}", buttonToday: "heute", buttonDayView: "Tag", buttonWeekView: "Woche", buttonMonthView: "Monat", buttonListView: "Liste", buttonDelete: "löschen", buttonOK: "OK", buttonCancel: "stornieren", labelAllDay: "ganztägig", labelToday: "Heute", labelName: "name", labelStarts: "beginnt", labelEnds: "endet", labelLocation: "lage", labelRepeat: "repetieren", labelCalendar: "kalender", labelDescription: "sorte", textNewEvent: "neues Ereignis", repeatNone: "keiner", repeatDaily: "täglich", repeatWorkDays: "Tag der Arbeit", repeatWeekly: "Jede Woche", repeatMonthly: "Jeden Monat", repeatYearly: "jährlich" }, dayViewHeaderFormat: { day: "ganztägige Ereignisse", week: "{0:d dddd}", list: "{0:d dddd}" } }); }); </script> |