How to disable localization features

4 posts, 0 answers
  1. Richard
    Richard avatar
    18 posts
    Member since:
    Jun 2014

    Posted 05 May Link to this post

    Hi,

    i'm currently sat here into the third hour of Telerik updating to Q2 MVC, VS2015 remaining unresponsive.  I've been looking at the files that are being updated and the vast majority appear to be localization/cultures files. I notice that on my production webserver there are also a large number of localization files.

    My application is a EN-GB app and will always be so and will never have any need for localization.  Is there a way to remove all this unnecessary functionality and the time it takes to do an update (I realise this is largely due to VS being somewhat slow in this regard)?

  2. Yana
    Admin
    Yana avatar
    60 posts

    Posted 05 May Link to this post

    Hi Richard,

    Please accept our apologies for the inconvenience caused.

    The described problematic behavior is a known issue in our Telerik ASP.NET MVC Visual Studio extensions, which is logged and prioritized in our backlog. You could find more details about the topic and some useful suggestions how to workaround the issue in this forum post.

    When it comes to the localization files, I recommend you use our Configure wizard which will help you to easily remove the whole cultures folder by deselecting the "Copy Global Resources" option. Please take a look at this documentation article for more information about the wizard.

    Should you have additional questions or need further assistance, do not hesitate to contact us again.

    Regards,
    Yana
    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. Richard
    Richard avatar
    18 posts
    Member since:
    Jun 2014

    Posted 06 May Link to this post

    Many thanks Yana.  Switching off globalization has massively speeded up the process.

    The only issue I have now though is that my application is exclusively en-GB and with globalization off the system reverts to en-US/natural - which means all my dates are now back to front etc.

    Is there a way to just have one culture file in place (and will VSExtensions understand not to bring every one in each time)?

    Thanks

    Richard

  5. Yana
    Admin
    Yana avatar
    60 posts

    Posted 09 May Link to this post

    Hello Richard,

    In the current version of our Visual Studio extensions, all of the globalization files could be added or removed. There is no option to somehow choose which localization files to be included in the project. 

    The described feature is logged into the Kendo UI feedback portal. You could track its progress here:

    http://kendoui-feedback.telerik.com/forums/127393-telerik-kendo-ui-feedback/suggestions/8545855-allow-selecting-themes-and-languages-in-mvc-update

    Moreover, I am going to raise the topic in our next planning meeting when we are going to take it into consideration again. 

    When it comes to some workaround, you could copy the desired globalization files into a custom folder into your project. In this way, Upgrade wizard will neither update the files nor will add some new files which you do not need. The disadvantage of the approach is that in case you would like to update the files, it should be done manually.

    Please let us know in case any further assistance is needed. 

    Regards,
    Yana
    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
Back to Top
UI for ASP.NET MVC is VS 2017 Ready