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

.net core 2.0 Culture not work

2 Answers 54 Views
This is a migrated thread and some comments may be shown as answers.
Train
Top achievements
Rank 1
Train asked on 24 Aug 2017, 06:30 PM

Hi guys,

I am use in .net core 2.0 project, and use the internal version 2017.2.823, but I find a problem is the culture setting is not work. I want to use the chinese culture and messages.

In _Layout.chtml I include the kendo js files and style files like this:

    <script src="~/lib/kendo-ui/js/kendo.all.min.js"></script>
    <script src="~/lib/kendo-ui/js/cultures/kendo.culture.zh-CN.min.js"></script>
    <script src="~/lib/kendo-ui/js/kendo.aspnetmvc.min.js"></script>
<script type="text/javascript">

        kendo.culture("zh-CN");
    </script>

 

Please help me, thanks.

 

Regards

Train

 

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 29 Aug 2017, 08:52 AM
Hello Train,

Thank you for reporting this.

I will investigate what may be causing the issue.

In the meantime, if you could send a small project reproducing the issue it will be very helpful.

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Stefan
Telerik team
answered on 29 Aug 2017, 12:26 PM
Hello Train,

I made an example with .NET Core 2.0 and the Kendo UI culture set to zh-CN which is working as expected.

I attached the project used for testing.

Please have in mind that I used a local NuGet for testing which is also attached to the project and has to be added to the NuGet Source in order to be used:



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