Sets or gets the localization
property.
<script src="~/jqwidgets/jqxdate.js"></script>
<script src="~/jqwidgets/jqxcalendar.js"></script>
<script src="~/jqwidgets/jqxdatetimeinput.js"></script>
<script src="~/jqwidgets/globalization/globalize.js"></script>
<script src="~/jqwidgets/jqxbuttons.js"></script>
<script src="~/jqwidgets/jqxlistbox.js"></script>
<script src="~/jqwidgets/jqxdropdownlist.js"></script>
<script src="~/jqwidgets/jqxwindow.js"></script>
<script src="~/jqwidgets/jqxpasswordinput.js"></script><script src="~/jqwidgets/jqxinput.js"></script><script src="~/jqwidgets/jqxradiobutton.js"></script><script src="~/jqwidgets/jqxcheckbox.js"></script><script src="~/jqwidgets/jqxscrollbar.js"></script><script src="~/jqwidgets/jqxscheduler.js"></script><script src="~/jqwidgets/jqxscheduler.api.js"></script><script src="~/jqwidgets/jqxnumberinput.js"></script>@model jQWidgets.AspNet.Core.Models.jQWidgetsDemosContext
@using jQWidgets.AspNetCore.Mvc.TagHelpers;
@{
ViewData[
"Title"] = "ASP .NET MVC Scheduler Example";
}
@section scripts {
<script> function getLocalization(culture) {
var localization = null;
switch (culture) {
case "de":
localization =
{
// separator of parts of a date (e.g. '/' in 11/05/1955) '/':
"/",
// separator of parts of a time (e.g. ':' in 05:44 PM) ':':
":",
// the first day of the week (0 = Sunday, 1 = Monday, etc) firstDay: 1,
days: {
// full day names names: [
"Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"],
// abbreviated day names namesAbbr: [
"Sonn", "Mon", "Dien", "Mitt", "Donn", "Fre", "Sams"],
// shortest day names namesShort: [
"So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"]
},
months: {
// full month names (13 months for lunar calendards -- 13th month should be "" if not lunar) names: [
"Januar", "Februar", "M�rz", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""],
// abbreviated month names namesAbbr: [
"Jan", "Feb", "M�r", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dez", ""]
},
// AM and PM designators in one of these forms: // The usual view, and the upper and lower case versions // [standard,lowercase,uppercase] // The culture does not use AM or PM (likely all standard date formats use 24 hour time) // null AM: [
"AM", "am", "AM"],
PM: [
"PM", "pm", "PM"],
eras: [
// eras in reverse chronological order. // name: the name of the era in this culture (e.g. A.D., C.E.) // start: when the era starts in ticks (gregorian, gmt), null if it is the earliest supported era. // offset: offset in years from gregorian calendar {
"name": "A.D.", "start": null, "offset": 0 }
],
twoDigitYearMax: 2029,
patterns: {
// short date pattern d:
"M/d/yyyy",
// long date pattern D:
"dddd, MMMM dd, yyyy",
// short time pattern t:
"h:mm tt",
// long time pattern T:
"h:mm:ss tt",
// long date, short time pattern f:
"dddd, MMMM dd, yyyy h:mm tt",
// long date, long time pattern F:
"dddd, MMMM dd, yyyy h:mm:ss tt",
// month/day pattern M:
"MMMM dd",
// month/year pattern Y:
"yyyy MMMM",
// S is a sortable format that does not vary by culture S:
"yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss",
// formatting of dates in MySQL DataBases ISO:
"yyyy-MM-dd hh:mm:ss",
ISO2:
"yyyy-MM-dd HH:mm:ss",
d1:
"dd.MM.yyyy",
d2:
"dd-MM-yyyy",
d3:
"dd-MMMM-yyyy",
d4:
"dd-MM-yy",
d5:
"H:mm",
d6:
"HH:mm",
d7:
"HH:mm tt",
d8:
"dd/MMMM/yyyy",
d9:
"MMMM-dd",
d10:
"MM-dd",
d11:
"MM-dd-yyyy" },
backString:
"Vorhergehende",
forwardString:
"N�chster",
toolBarPreviousButtonString:
"Vorhergehende",
toolBarNextButtonString:
"N�chster",
emptyDataString:
"Nokeine Daten angezeigt",
loadString:
"Loading...",
clearString:
"L�schen",
todayString:
"Heute",
dayViewString:
"Tag",
weekViewString:
"Woche",
monthViewString:
"Monat",
timelineDayViewString:
"Zeitleiste Day",
timelineWeekViewString:
"Zeitleiste Woche",
timelineMonthViewString:
"Zeitleiste Monat",
loadingErrorMessage:
"Die Daten werden noch geladen und Sie k�nnen eine Eigenschaft nicht festgelegt oder eine Methode aufrufen . Sie k�nnen tun, dass, sobald die Datenbindung abgeschlossen ist. jqxScheduler wirft die ' bindingComplete ' Ereignis, wenn die Bindung abgeschlossen ist.",
editRecurringAppointmentDialogTitleString:
"Bearbeiten Sie wiederkehrenden Termin",
editRecurringAppointmentDialogContentString:
"Wollen Sie nur dieses eine Vorkommen oder die Serie zu bearbeiten ?",
editRecurringAppointmentDialogOccurrenceString:
"Vorkommen bearbeiten",
editRecurringAppointmentDialogSeriesString:
"Bearbeiten Die Serie",
editDialogTitleString:
"Termin bearbeiten",
editDialogCreateTitleString:
"Erstellen Sie Neuer Termin",
contextMenuEditAppointmentString:
"Termin bearbeiten",
contextMenuCreateAppointmentString:
"Erstellen Sie Neuer Termin",
editDialogSubjectString:
"Subjekt",
editDialogLocationString:
"Ort",
editDialogFromString:
"Von",
editDialogToString:
"Bis",
editDialogAllDayString:
"Den ganzen Tag",
editDialogExceptionsString:
"Ausnahmen",
editDialogResetExceptionsString:
"Zur�cksetzen auf Speichern",
editDialogDescriptionString:
"Bezeichnung",
editDialogResourceIdString:
"Kalender",
editDialogStatusString:
"Status",
editDialogColorString:
"Farbe",
editDialogColorPlaceHolderString:
"Farbe w�hlen",
editDialogTimeZoneString:
"Zeitzone",
editDialogSelectTimeZoneString:
"W�hlen Sie Zeitzone",
editDialogSaveString:
"Sparen",
editDialogDeleteString:
"L�schen",
editDialogCancelString:
"Abbrechen",
editDialogRepeatString:
"Wiederholen",
editDialogRepeatEveryString:
"Wiederholen alle",
editDialogRepeatEveryWeekString:
"woche(n)",
editDialogRepeatEveryYearString:
"Jahr (en)",
editDialogRepeatEveryDayString:
"Tag (e)",
editDialogRepeatNeverString:
"Nie",
editDialogRepeatDailyString:
"T�glich",
editDialogRepeatWeeklyString:
"W�chentlich",
editDialogRepeatMonthlyString:
"Monatlich",
editDialogRepeatYearlyString:
"J�hrlich",
editDialogRepeatEveryMonthString:
"Monate (n)",
editDialogRepeatEveryMonthDayString:
"Day",
editDialogRepeatFirstString:
"erste",
editDialogRepeatSecondString:
"zweite",
editDialogRepeatThirdString:
"dritte",
editDialogRepeatFourthString:
"vierte",
editDialogRepeatLastString:
"letzte",
editDialogRepeatEndString:
"Ende",
editDialogRepeatAfterString:
"Nach",
editDialogRepeatOnString:
"Am",
editDialogRepeatOfString:
"von",
editDialogRepeatOccurrencesString:
"Eintritt (e)",
editDialogRepeatSaveString:
"Vorkommen Speichern",
editDialogRepeatSaveSeriesString:
"Save Series",
editDialogRepeatDeleteString:
"Vorkommen l�schen",
editDialogRepeatDeleteSeriesString:
"Series l�schen",
editDialogStatuses:
{
free:
"Frei",
tentative:
"Versuchsweise",
busy:
"Besch�ftigt",
outOfOffice:
"Ausserhaus" }
}
break;
case "en":
default:
localization =
{
// separator of parts of a date (e.g. '/' in 11/05/1955) '/':
"/",
// separator of parts of a time (e.g. ':' in 05:44 PM) ':':
":",
// the first day of the week (0 = Sunday, 1 = Monday, etc) firstDay: 0,
days: {
// full day names names: [
"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
// abbreviated day names namesAbbr: [
"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
// shortest day names namesShort: [
"Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"]
},
months: {
// full month names (13 months for lunar calendards -- 13th month should be "" if not lunar) names: [
"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""],
// abbreviated month names namesAbbr: [
"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""]
},
// AM and PM designators in one of these forms: // The usual view, and the upper and lower case versions // [standard,lowercase,uppercase] // The culture does not use AM or PM (likely all standard date formats use 24 hour time) // null AM: [
"AM", "am", "AM"],
PM: [
"PM", "pm", "PM"],
eras: [
// eras in reverse chronological order. // name: the name of the era in this culture (e.g. A.D., C.E.) // start: when the era starts in ticks (gregorian, gmt), null if it is the earliest supported era. // offset: offset in years from gregorian calendar {
"name": "A.D.", "start": null, "offset": 0 }
],
twoDigitYearMax: 2029,
patterns: {
// short date pattern d:
"M/d/yyyy",
// long date pattern D:
"dddd, MMMM dd, yyyy",
// short time pattern t:
"h:mm tt",
// long time pattern T:
"h:mm:ss tt",
// long date, short time pattern f:
"dddd, MMMM dd, yyyy h:mm tt",
// long date, long time pattern F:
"dddd, MMMM dd, yyyy h:mm:ss tt",
// month/day pattern M:
"MMMM dd",
// month/year pattern Y:
"yyyy MMMM",
// S is a sortable format that does not vary by culture S:
"yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss",
// formatting of dates in MySQL DataBases ISO:
"yyyy-MM-dd hh:mm:ss",
ISO2:
"yyyy-MM-dd HH:mm:ss",