We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Localization not working

Thread ID:

Created:

Updated:

Platform:

Replies:

118930 Apr 24,2015 04:47 PM UTC Apr 27,2015 04:16 PM UTC ASP.NET MVC 1
loading
Tags: DatePicker
lc
Asked On April 24, 2015 04:47 PM UTC

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

Saranya Sivakumar [Syncfusion]
Replied On 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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;