Drop in, Drop after, Drop before translation not working

2 posts, 0 answers
  1. saw
    saw avatar
    29 posts
    Member since:
    Jun 2014

    Posted 27 Apr 2015 Link to this post

    Hi,

    I want to translate "Drag Tooltip" (Drop in, Drop after, Drop before) in RadTreeView. I am using resource file and I successfully translated RadGridView group panel and other in built in visual structures.

    I used RadTreeView resources keys to do the same, but translation is not working.

    Resource keys

    TreeViewDropAfter

    TreeViewDropBefore

    TreeViewDropIn

  2. Martin
    Admin
    Martin avatar
    1101 posts

    Posted 28 Apr 2015 Link to this post

    Hello Shalin,

    I noticed that there was the same question posted in our ticketing system with an attached project, but from another account. I already answered the question there (in ticket with ID:929908), however, I will also quote myself in this forum because the answer can be helpful to someone else with a similar case.

    "The resources are not apply because the new LocalizationManager needs to be defined before the create of the application's UI. For example, you can add it just before the InitializeComponent() method. "
    public MainPage()
    {
        LocalizationManager.Manager = new LocalizationManager()
        {
            ResourceManager = Resource1.ResourceManager
        };
     
        InitializeComponent();
    ..... 
    }

    In addition you can take a look at the Localization help article.

    Regards,
    Martin
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. DevCraft banner
Back to Top