.net core 2.0 Culture not work

3 posts, 0 answers
  1. Train
    Train avatar
    3 posts
    Member since:
    Aug 2010

    Posted 24 Aug Link to this post

    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. Stefan
    Admin
    Stefan avatar
    1147 posts

    Posted 29 Aug Link to this post

    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.
  3. Stefan
    Admin
    Stefan avatar
    1147 posts

    Posted 29 Aug Link to this post

    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.
Back to Top