We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Translate ParentBarItem Popup menus

Thread ID:

Created:

Updated:

Platform:

Replies:

50744 Oct 18,2006 10:54 AM UTC Oct 19,2006 08:18 PM UTC WinForms 5
loading
Tags: Tools
Paul Ankho
Asked On October 18, 2006 10:54 AM UTC

Hi there,
I'm using a ParentBarItem full of BarItems. It works fine but I need to translate all the text showed in the PopUp menu to spanish.
I have accesed to the CommandBar main popup menu with this code:

this.mainFrameBarManager1.GetCommandBarManager ( ).DockBarContextMenu.ParentBarItem.Items[ 1 ].Text = "Personalizar...";

But now I need to change texts from the PopUp menu attached to each ParentBarItem that I've defined. Texts like "Add or Remove Buttons" or similar.

How can I get programatically this Popup menu object?
Is there any better way to change the localization of these controls?

Administrator [Syncfusion]
Replied On October 18, 2006 10:55 AM UTC

Thanks in advance!

Administrator [Syncfusion]
Replied On October 18, 2006 04:49 PM UTC

Hi again,
I'm trying to use the Localization method proposed by Syncfusion in order to translate the associated code texts. I've created a dll called
Syncfusion.Tools.resources.dll

compiled as exposed at
[...]Syncfusion\Essential Studio\4.3.0.30\Windows\Tools.Windows\Localization

I have compiled it, signed it and added into my exe bin directory under es-ES name but I can't make it works.
I don't know what I'm doing wrong
As far as I know about localization under .NET the resource.dll file must have the same name than the original one. I've tried this too but It still does not work

Thanks in advance again for your time!

Mano J [Syncfusion]
Replied On October 18, 2006 08:26 PM UTC

Hi Paul,

You should create the satellite assembly as Syncfusion.Tools.Windows.resources.dll.

Please refer to the localization document attached below for detailed instructions.

Localization_of _Menu_Framework.zip


Please let me know if you need more assistance. Thanks for using Syncfusion products.

Regards,
Mano

Paul Ankho
Replied On October 19, 2006 04:44 PM UTC

Hi again,

The state of the art of my localization project is the next one:
1. Now, I have all the resources translated to spanish
2. The Syncfusion.Tool.Windows.dll is recognizing it and all text resources are well shown.

I'm trying to reorganize the size of all the labels defined in CustomizationPanel.resx but I can't. Following the step number nine defined in the "Localization of Essential Tools" document I can only save a [...].Tools.XPMenus.CustomizationPanel.resx file but I can't create a .resources file in order to include it into my new spanish resource's dll.

How can I modify these label sizes defined at CustomizationPanel.rex in order to use them with my new big-sized translated text?

Thanks again for your patience!

Purusothaman R [Syncfusion]
Replied On October 19, 2006 08:18 PM UTC

Hi Paul,

Resource Editor(ResEditor.exe) can't be used to change properties like Size and Location in a ".resource" file.

Actually there is no need to work with .resx file for localization. All the resources needed are present in the Localization folder (C:\Program Files\Syncfusion\Essential Studio\[INSTALLED VERSION]\Windows\Tools.Windows\Localization\NeutralResources).

Use WinRes(C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin) to open the Syncfusion.Windows.Forms.Tools.XPMenus.CustomizationPanel.resources file and now you can modify the size and Location of all controls in the customization panel and save it.

Note: WinRes utility can be opened from the VS.NET 2003 command prompt by entering "winres".

Thanks,
Purusothaman.R

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;