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

Drop in, Drop after, Drop before translation not working

1 Answer 45 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
saw
Top achievements
Rank 1
saw asked on 27 Apr 2015, 06:22 AM

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

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 28 Apr 2015, 08:40 AM
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.

 
Tags
TreeView
Asked by
saw
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or