Localization Sample |
Post Reply |
Author | |
tyousef
Newbie Joined: 14 August 2006 Location: Egypt Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 16 August 2006 at 3:27am |
I'm trying to localize my application similar to the scribble sample but I found that this sample depends on directly including the .rc files for the languages it supports. It doesn't use the languages dll or xml files at all!!!
How can I do this using the xml language files??
Thanks
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello,
Just add line
XTPResourceManager()->SetResourceFile(path_to_xml_file);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
tyousef
Newbie Joined: 14 August 2006 Location: Egypt Status: Offline Points: 5 |
Post Options
Thanks(0)
|
It doesn't work. I expect the standard items in the menu to be swtiched to the new language automatically but it doesn't!! Even in the multi-language sample, the menu items are not updated and only the langauges names and descriptions are updated manually inside the code.
What exactly should the effect be after using this function and reseting all the command bars??
Thanks
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Yes it only set resources for _our resources_ like Customize dialog and messageboxes from toolkit.
Obviously you must manually translate your menus. in Scribble sample you can find that menus translating for Russian language was moved to xml file also.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |