Localization support for separate nuget packages

16 posts, 0 answers
  1. Enrico
    Enrico avatar
    6 posts
    Member since:
    Dec 2012

    Posted 25 Jun 2014 Link to this post

    What is the suggested way to use the built-in localization for separate nuget packages. I can't find any localization dll inside.

    If i would use the big single nuget package the dll for my language is included. By the way, this is not an option to me.

    Kind regards,

    Enrico
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 27 Jun 2014 Link to this post

    Hi Enrico,

    Indeed, currently the localization dlls are not available when using the separate NuGet packages, we will definitely include them either inside the Telerik.Windows.Controls package or as a separate package.
    I will write additionally with more details on the exact approach.

    Regards,
    Yana
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. DevCraft banner
  4. Enrico
    Enrico avatar
    6 posts
    Member since:
    Dec 2012

    Posted 27 Jun 2014 Link to this post

    Can you tell something about a possible timeline? 
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 01 Jul 2014 Link to this post

    Hello Enrico,

    The localization files will be available as separate NuGet packages starting from our next release - Q2 2014 SP.

    Thank you for sending your feedback and sorry for any inconvenience caused.

    Regards,
    Yana
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  6. Daniel Grünberger
    Daniel Grünberger avatar
    46 posts
    Member since:
    May 2008

    Posted 26 Sep 2014 in reply to Yana Link to this post

    Hi, how can i install the german resources via nuget?

    I have installed "Telerik.Windows.Controls.de.for.Wpf" Package (additionally to all my required packages) and set the CurrentUICulture and CurrentCulture to "de". The language is still english. 

    Kind regards
  7. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 26 Sep 2014 Link to this post

    Hi Enrico,

    When you install the required NuGet packages there is a packages folder created inside your solution folder, so you will need to go inside the Telerik.Windows.Controls.de.for.Wpf.40.2014.2.0729/lib/net40 and copy the de folder ( together with the resource file in it) inside the same folder where Telerik.Windows.Controls.dll is located (it should be Telerik.Windows.Controls.for.Wpf.40.2014.2.0729\lib\net40 ).

    Please try it and let us know whether this helps.

    Regards,
    Yana
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  8. Sven J
    Sven J avatar
    26 posts
    Member since:
    Nov 2009

    Posted 16 Feb 2015 in reply to Yana Link to this post

    Hi,

    there is a description on nuget (https://docs.nuget.org/create/creating-localized-packages) how to define localization nuget packages. Telerik doesn't match these definitions. If you please adapt name and dependency in localized nuget  package it would work out of the box!

    Best regards
    Sven
  9. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 18 Feb 2015 Link to this post

    Hello Sven,

    Thank you for the feedback. We will have it in account when we make the planning for our next release.

    Regards,
    Martin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  10. Sven J
    Sven J avatar
    26 posts
    Member since:
    Nov 2009

    Posted 17 Aug 2015 in reply to Martin Link to this post

    Hi,

    any progress you can tell us? Version 2015.2 still has problems (=doesn't work) accessing the resource dlls as the resource packages still contains wrong meta-data.

    Further suggestion: Remove the Version from the Package Id and use nuget internal Framework-Target-Version. This makes switching to the next .NET Version more easy. 

     

  11. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 20 Aug 2015 Link to this post

    Hi Sven,

    We already prioritized the tasks for our next release and we weren't able to include this one in our planning. In other words, currently, there is no progress on it. However, we have this task logged in our system and we will implement it as soon as we can.

    About the Package Id, thank you for your feedback. Our features/issues log also contains a feature request for possibility to create common package for both framework versions (.NET 4 and 4.5).

    Regards,
    Martin
    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
  12. Ivo
    Ivo avatar
    37 posts
    Member since:
    Jul 2011

    Posted 21 Jun Link to this post

    Hi,

    is there a sample project demonstrating this behavior? I have trouble getting my silverlight project translated when using seperate NuGet Packages.

    Best regards,

    Stefan

  13. Sven J
    Sven J avatar
    26 posts
    Member since:
    Nov 2009

    Posted 21 Jun in reply to Ivo Link to this post

    Hi Stefan,

    cannot demonstrate my project because it's closed source. But I've made 2 screenshots of my nuget resource package which show how to change the default nuget resource package from telerik to make it work out of the box.

    Good luck

    Sven

  14. Ivo
    Ivo avatar
    37 posts
    Member since:
    Jul 2011

    Posted 21 Jun in reply to Sven J Link to this post

    Hi Sven,

    thanks a lot for your help. It's really strange that Telerik doesn't provide an out-of-the box solution since this topic is about two years old. Modifying the native NuGet packages will lead to an error prone update process and additional manual work each time I update the Telerik compoenents.

    I hope that someone from Telerik staff will write an update about how they will deal with this in the future.

    Thanks again for your input!

    Stefan

  15. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 24 Jun Link to this post

    Hello Stefan,

    Thanks for your feedback. We will be get back to you with more details next week.

    If you have any other question or concerns, please let us know.

    Regards,
    Kalin
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  16. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 30 Jun Link to this post

    Hello guys,

    Thanks for your patience.

    The development team has started working on improving our nuget packages and I can assure you that the feedback from this thread will be considered. Currently I cannot give you a time frame when this will be done, but as soon as we have some more details regarding the estimated release date I will post again in this thread, so please stay tuned.

    Hope this helps.

    Regards,
    Kalin
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  17. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 17 Aug Link to this post

    Hi,

    Good news - we are in process of testing the updated localization nugets! The new packages will automatically move the localization dlls into the correct location. They will be live with the next official release (mid September), so stay tuned.

    Please do not hesitate to share any feedback as soon as the release goes live and you have checked the new nugets.

    Regards,
    Kalin
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top
DevCraft banner