This is a migrated thread and some comments may be shown as answers.

Recurrence Editor always default language

1 Answer 124 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 11 Nov 2013, 12:49 PM
I'm using kendoui Scheduler with a customized appointment editor (with MVC4 Razor).
All fields in the scheduler and in the editor window are in the correct language, except in the reccurrence editor - here all texts are still in default langauge english - alls fields part of "reoccurenceContainer" ?!

<div id="schedulerEventEditor">
    <fieldset>
        <div class="editor-label">
            @Html.LabelFor(model => model.Title)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model =>model.Title, new {data_bind ="value: title"})
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Description)
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.Description, new {rows = 5, cols=24, data_bind ="value: description"})
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.Start)
        </div>
        <div class="editor-field">
            <input name="start" type="text" required data-type="date" data-role="datetimepicker" data-bind="value: start,invisible: isAllDay" />
            <input name="start" type="text" required data-type="date" data-role="datepicker" data-bind="value: start,visible: isAllDay" />
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.End)
        </div>
        <div class="editor-field">
            <input name="end" type="text" required data-type="date" data-role="datetimepicker" data-bind="value: end ,invisible:isAllDay" />
            <input name="end" type="text" required data-type="date" data-role="datepicker" data-bind="value: end ,visible:isAllDay" />
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.IsAllDay)
        </div>
        <div class="editor-field">
            <input type="checkbox" name="isAllDay" data-type="boolean" data-bind="checked:isAllDay" />
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.RecurrenceRule)
        </div>
        <div class="reoccurenceContainer">
            <div class="editor-field">
                <div data-bind="value: recurrenceRule" id="recurrenceEditor"></div>
            </div>
        </div>
    </fieldset>
 
<script>
    jQuery(function () {       
        $("\#recurrenceEditor").kendoRecurrenceEditor();
    });
 
</script>

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 13 Nov 2013, 08:56 AM
Hi Oliver,

Basically current behavior is expected as you are initializing the recurrenceEditor using JavaScript (MVC wrapper for the same will be released with KendoUI Q3 2013 official release) - in current scenario you can translate the recurrenceEditor messages in the following way:

Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Scheduler
Asked by
Oliver
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or