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

Pointless Culture Files

5 Answers 644 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
john
Top achievements
Rank 1
john asked on 06 Feb 2019, 11:31 PM
If I just want US English, can I delete the rest of the culture files from my generated Telerik MVC project?

5 Answers, 1 is accepted

Sort by
0
Tsvetomir
Telerik team
answered on 07 Feb 2019, 03:08 PM
Hi John,

The culture set on the server is the one which is configured in the settings of the machine that hosts the application. If the host machine is configured to work with the "en-US" culture, then the other cultures are not needed. 

The Kendo scripts running client-side use en-US culture by default. If you would like to use only that culture in your application there is no need for other JS culture files and you can remove them as well.

I hope these clarifications prove helpful.


Kind regards,
Tsvetomir
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
ichiSan
Top achievements
Rank 1
answered on 04 Dec 2019, 06:01 PM

Hello,

How exactly can they be removed? Just delete them from the project? There's over 10,000 files that seem to be useless when only needing US but they're all included in the nuget download and when I deployment. 

Thanks,

Rich 

0
Tsvetomir
Telerik team
answered on 06 Dec 2019, 09:23 AM

Hi Richard,

I am not completely sure about which 10 000 files you refer to. The relevant cultures have a dll that is responsible for the translations. As well as there should be one JS file for each of them, as well.

Is it possible for you to share more details on the exact list you refer to? Sharing a sample example would prove helpful.

Thank you for your cooperation in advance.

 

Best regards,
Tsvetomir
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Miguel
Top achievements
Rank 1
answered on 25 Feb 2020, 03:50 PM

Tsvetomir,

At least on my deployment there are exactly 2,081 files under scripts\kendo folder and 1,438 files under content\kendo folders.  Including kendo-source folder which I think is definitively not needed.

The question is, how can we deploy just needed files only and not everything under kendo folders? In my case I tried not referencing anything local (except for the .dll of course).  I'm pulling .css and .js from kendo.cdn.telerik.com, but still everything gets deployed.

I have not tried this one, but I'm probably going to remove the nuget package and just pull in the .dll manually.  Will that do the trick? (not a desired path for me at this time)

0
Tsvetomir
Telerik team
answered on 27 Feb 2020, 01:03 PM

Hi Miguel,

It is correct that the Kendo UI widgets could function correctly without adding the whole "kendo" folder to your project. Actually, all the needed files are the respective CSS files for the theme along with the kendo.all.min.js JavaScript file. 

More information could be found here:

https://docs.telerik.com/aspnet-mvc/getting-started/installation/getting-started-copy-client-resources

 

Regards,
Tsvetomir
Progress Telerik

Get quickly onboarded and successful with your Telerik UI for ASP.NET MVC with the dedicated Virtual Classroom technical training, available to all active customers.
Tags
General Discussions
Asked by
john
Top achievements
Rank 1
Answers by
Tsvetomir
Telerik team
ichiSan
Top achievements
Rank 1
Miguel
Top achievements
Rank 1
Share this question
or