![]() |
How to support different language? |
Post Reply
|
| Author | |
cxmvip
Newbie
Joined: 28 June 2007 Location: China Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Topic: How to support different language?Posted: 29 June 2007 at 4:55am |
|
I have studied the example ScribbleMultiLang. I ment the following question: 1.How to compile different language dll?In the E:\Codejock Software\MFC\Xtreme Toolkit Pro v9.60\WorkSpace\XTPToolkit_Dll_Res folder,I compile the app and get XTPResourceDe.lib.But I didn't get XTPResourceDe.dll.
2.How and where call the dll?In the example,I cann't find it!But the example works very well!
3.XTPResourceDe.lib or XTPResourceDe.dll will change xtreme toolkit to German language.But how to change the menu and toolbar of the app to different language?
4.What doest it work about scribble.ini and scribble.xml?Which information is stored in the scribble.ini and scribble.xml file?
5.I saw the scribble_de.rc according to the German Language .If I want to add the Chinese Language,I change the scribble.rc to Chinese and create new file scribble_zh_cn.rc.What can I do next?
Pls help me.
|
|
|
bird
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 June 2007 at 4:03am |
|
Hi,
1. dll will be placed to Xtreme Toolkit Pro v9.60\bin\Translation folder
2. search ManageState calls in sources.
3. ??? instead XTPResourceDe comple language you need
4. xml and ini is text replacement of dll files. you nca use dll or xml as you want.
5. next you need compile dll for your rc.
I very recommend you update your toolkit version 9.60 is really old.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
cxmvip
Newbie
Joined: 28 June 2007 Location: China Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 July 2007 at 3:46am |
|
Thanks Oleg Chernyahovskii very much!
In your suggestion,there's some unknown words such as ??? .
I have compiled the dll and got it according to your suggestion.
But how to configure the parameter using dll or xml?And how to compile dll for my rc?
Thanks!
|
|
|
bird
|
|
![]() |
|
cxmvip
Newbie
Joined: 28 June 2007 Location: China Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 July 2007 at 3:49am |
|
By the way, I use VC6 & Xtreme toolkit pro 960.
|
|
|
bird
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 July 2007 at 4:19am |
|
Sorry, I not sure how it was in 9.60, try to find XMLResource folder in XTPToolkit_Dll_Res.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
cxmvip
Newbie
Joined: 28 June 2007 Location: China Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Posted: 02 July 2007 at 4:54am |
|
Now my promblem is that I don't knowing the example how to call the specified language dll. I thinks my knowledge is not enough.Pls tell me ,what should I study if I want to make my app support different language
|
|
|
bird
|
|
![]() |
|
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 |