Nevron Forum

toolbar error when localized

https://www.nevron.com/Forum/Topic4239.aspx

By Krzysztof Janiszewski - Sunday, September 26, 2010

Hello!

I'm implementing application which uses Nevron Diagram. Yesterday i found strange bug.

I've done partial localization of components using application shipped with Nevron components. When I enabled localization with code:

NLocalizationManager.Instance.Load(Application.StartupPath + "\\nevron.xml");
NLocalizationManager.Instance.Enabled = true;

toolbar with drawing tools (rectangle, line, polyline, pan tool etc) stopped working. When I click any tool on that toolbar, NDrawingView becomes read only. I can't do anything with it.

I attach my localization .xml file. Please check, what causes problem.

Thank you in advance
Krzysztof Janiszewski
By Nevron Support - Monday, September 27, 2010

Hi,

the problem is that in your translation some tools (for example the "Handle Tool" and the "Selector Tool") have the same translation. Note that all tool names must have different translations ! Correct them in your xml file and the problem with the toolbar will be solved.