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

Random culture

5 Answers 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Philippe
Top achievements
Rank 1
Philippe asked on 21 Jul 2015, 11:25 AM

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

5 Answers, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 21 Jul 2015, 12:40 PM
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
0
Philippe
Top achievements
Rank 1
answered on 21 Jul 2015, 01:47 PM

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"
               ));

 

 

0
Philippe
Top achievements
Rank 1
answered on 21 Jul 2015, 01:53 PM

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.

 

 

0
Accepted
Alexander Popov
Telerik team
answered on 23 Jul 2015, 08:24 AM
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
0
Philippe
Top achievements
Rank 1
answered on 23 Jul 2015, 01:32 PM
Thanks a lot, it works fine with this script
Tags
General Discussions
Asked by
Philippe
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Philippe
Top achievements
Rank 1
Share this question
or