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

Localization with some changes

1 Answer 59 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Maurice
Top achievements
Rank 1
Veteran
Maurice asked on 10 Nov 2017, 09:45 AM

Hi,

I'm using

@{ var culture = System.Globalization.CultureInfo.CurrentCulture.ToString(); }
    <script src="@Url.Content("~/Scripts/cultures/kendo.culture." + culture + ".min.js")"></script>
    <script> kendo.culture("@culture")  </script>

and the most of the clients are using nl-NL as their culture and this works like I would expect but:

The official locale tells us the decimal separator is "," and thousand separator "." but everybody wants to use decimal separator "." and thousand separator ",".

Is it possible to change the kendo.culture.nl-NL.min.js file (or do I need to change kendo.culture.nl.min.js) to make this change?

 

Thanks,

Maurice Lucas


1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 13 Nov 2017, 01:03 PM
Hello Maurice,

The enclosed article describes the Culture Definition and could be helpful in order to define a custom culture settings.

Another approach, if applicable, is to use Kendo toString method in order to format numbers in the desired format. 

You may find the Demo for the Globalization helpful.

Regards,
Neli
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Maurice
Top achievements
Rank 1
Veteran
Answers by
Neli
Telerik team
Share this question
or