![]() |
Multi - Language issues... |
Post Reply
|
| Author | |
venkyhyd
Groupie
Joined: 29 June 2006 Location: India Status: Offline Points: 70 |
Post Options
Thanks(0)
Quote Reply
Topic: Multi - Language issues...Posted: 03 September 2007 at 4:39am |
|
Hello Oleg,
With Multilanguage we are having various issues...We have reource DLL's specific to each language. And we are changing languages by selecting a lang from Language menu item as done in your Scribble and MultiLang examples.
1. We are creating Dialog box objects at the start of the application and we are either calling DoModal / Create and Show (modless Dlgs) as required on the Fly. We see that from your Scribble sample in the consturctor of Dialog we should be calling "InitModalIndirect" but the problem here is if we call this in Constructor of each Dlg Class then if we try to change the Language at RuntIme then the Objects created for the Dlgs will hold the Old Resource (lang). Now how do we reset the Lang by calling InitModalIndirect for each Dlg object whenever we change the Lang by clicking on Language Menu Item
2.Now we are creating a xtpControlSplitButtonPopup which holds Theme Menu Items and created on a toolbar. Now when we change the Language, how do we make sure that xtpControlSplitButtonPopup (menu items) also reflect the lang changes.
3. How do we change the language for the Customize Dialog box
4. How do we change the language for the Dynamic Menu's & Popup Menu's Created on the Fly.
Please suggest on this....
![]() thanks
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 September 2007 at 7:51am |
|
Hi,
1. You can manually change m_hDialogTemplate memeber of CDialog.
2, 4. I very recommend you use actions - see Samples\CommandBars\ActionsSample sample. using this way you don't need reload menus, but only need load actions.
Last version of Scribble sample use actions too
3. You can add toolkits resources to your dlls.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
venkyhyd
Groupie
Joined: 29 June 2006 Location: India Status: Offline Points: 70 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2007 at 4:34am |
|
Hi
I am sorry to say but I think you didnot understand the requirement here.
1. The Theme's menu is not in the Menu bar but its created as a splitbutton and attached to the Toolbar. So on change of the Lang the menu items of Theme's Menu should changed accordingly I am able to see the changes in the Tooltip but not on the captions of the Themes Menu item.
2. And About the Dyanmic Menus whcih are created by the application on the fly. how can we change the lang for the Dynamic Menus.
Thanks
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2007 at 8:29am |
|
Hello,
Create small prototype of application with the way you use translation and attach it in issue track. I will change it to show how you can translate menu items.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
venkyhyd
Groupie
Joined: 29 June 2006 Location: India Status: Offline Points: 70 |
Post Options
Thanks(0)
Quote Reply
Posted: 05 September 2007 at 4:15am |
|
Hi
Please refer IssueTrak Issue# 14662.
Thanks
|
|
![]() |
|
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 |