Localization not working

Hi,
basically the localization seems not to work for us on any element i tried. E.g. the DatePicker.
According to instuctions i implemented the following Scritps in the _Layout Body:

    <script src="/Scripts/jquery-1.10.2.min.js"></script>
    <script src="/Scripts/jsrender.min.js"></script>
    <script src="/Scripts/jquery.easing-1.3.min.js"></script>
    <script src="/Scripts/jquery.globalize.min.js"></script>
    <script src="/Scripts/ej/ej.web.all.min.js"></script>
    <script src="/Scripts/ej/ej.unobtrusive.min.js"></script>
    <script src="/Scripts/cultures/globalize.culture.de-DE.min.js"></script>

All files are present and there is no JS error on page load.

i'm initializing the DatePicker in the corresponding view with @Html.EJ.DatePickerFor(Function(model) model.Beginn).Locale("de-DE")

The Datepicker is still not localized, is there something i'm missen?

regards,
lc

1 Reply

SS Saranya Sivakumar Syncfusion Team April 27, 2015 04:16 PM UTC

Hi Ic,

Thanks for using Syncfusion products.

We would like to let you know that, EJ is a method so we have to use “()” in the builder as shown in the following code snippet.

<code>

[vbhtml]

@Html.EJ().DatePickerFor(Function(model) model.Beginn).Locale("de-DE")

</code>

Also we have a Knowledge base documentation for defining properties for our EJ For controls in unobtrusive enabled and disabled state and the documentation link can be seen below.

http://www.syncfusion.com/kb/4670/how-to-define-properties-for-for-controls

For your convenience we have prepared the sample based on your requirement and the same can be downloaded from the following location.

http://www.syncfusion.com/uploads/user/forum/118930/DatepickerDELocale-2101549467.zip

Please let us know if you have further queries.

Regards,

Saranya.S


Loader.
Up arrow icon