Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Multi - Language issues...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Multi - Language issues...

 Post Reply Post Reply
Author
Message
venkyhyd View Drop Down
Groupie
Groupie


Joined: 29 June 2006
Location: India
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote venkyhyd Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
venkyhyd View Drop Down
Groupie
Groupie


Joined: 29 June 2006
Location: India
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote venkyhyd Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
venkyhyd View Drop Down
Groupie
Groupie


Joined: 29 June 2006
Location: India
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote venkyhyd Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2007 at 4:15am
Hi
 
Please refer IssueTrak Issue# 14662.
 
Thanks
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.