Random culture

6 posts, 1 answers
  1. Philippe
    Philippe avatar
    24 posts
    Member since:
    Sep 2009

    Posted 21 Jul 2015 Link to this post

    Hi,

    In all my projects using kendo, I have a problem with the culture. I set the culture in french but sometimes, the culture come back in english. So what I did exactly, in my main layout, i set the cultre like this : <script> kendo.culture("fr-FR"); </script> and in my references I included Kendo.Mvc.resources.

    Did i forget something ?

     

    Thanks by advance

  2. Alexander Popov
    Admin
    Alexander Popov avatar
    1416 posts

    Posted 21 Jul 2015 Link to this post

    Hello Philippe,

    Would you please verify that the kendo.culture.xx-xx.min.js files are also included, as described in the Globalization article?

    Regards,
    Alexander Popov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Philippe
    Philippe avatar
    24 posts
    Member since:
    Sep 2009

    Posted 21 Jul 2015 in reply to Alexander Popov Link to this post

    Yes, in my bundle included : 

      BundleTable.Bundles.Add(new ScriptBundle("~/bundles/kendo").Include(
                      "~/Scripts/kendo.all.min.js",
                      "~/Scripts/kendo.aspnetmvc.min.js",
                    "~/Scripts/cultures/kendo.culture.fr-FR.min.js",
                    "~/Scripts/jquery.unobtrusive-ajax.js"
                   ));

     

     

  5. Philippe
    Philippe avatar
    24 posts
    Member since:
    Sep 2009

    Posted 21 Jul 2015 in reply to Philippe Link to this post

    Some ​parts are all time in french as in the attach file, but the button from the bottom can be in french or english randomly.

     

     

  6. Answer
    Alexander Popov
    Admin
    Alexander Popov avatar
    1416 posts

    Posted 23 Jul 2015 Link to this post

    Hi again Philippe,

    I am not sure what causes this and so far I was not able to reproduce it. I would suggest trying to include the fr-FR messages file from our CDN. If that does not work either I would ask you to provide the exact steps to reproduce this or a sample project where it occurs.

    Regards,
    Alexander Popov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  7. Philippe
    Philippe avatar
    24 posts
    Member since:
    Sep 2009

    Posted 23 Jul 2015 Link to this post

    Thanks a lot, it works fine with this script
Back to Top
UI for ASP.NET MVC is VS 2017 Ready