Localization Help Required |
Post Reply |
Author | |
SBK2K
Newbie Joined: 04 October 2005 Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 02 November 2005 at 6:59pm |
Hi guys, I'm still trying to work out whether to use the Xtreme products in my apps... I'm really happy with them except for one thing - localizing seems to be difficult. I'm using XML files that has my toolbar/menu items localized in a users language that contains the Control ID, a tooltip, a description and text. My app reads these in and then applies to the CommandBars by using the following code: control = cmdBar.FindControl(null, tool.ID, null, true); This finds all instances of the control in the CommandBars _except_ for the items not on the object, such as those in the categories. Therefore once a user customizes the items on their toolbar they may have items in their language (say, French) and the development language (English). I'm aware that the strings can be localized using satellite resource libraries but I don't want to do this. My users appreciate being able to change the application strings and it also makes our work easier for us. So - how can we progmatically change resource strings that applies to all controls in the commandbar? |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
I think the problem is you want to change "Designer" controls as well (the ones that appear in customization window). To do that you can use:
control = cmdBar.DesignerControls.FindControl(null, tool.ID, null, true); So you will have to do 2 searches. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |