![]() |
Using other language Resources |
Post Reply
|
| Author | |
Alex H.
Senior Member
Joined: 12 February 2004 Status: Offline Points: 266 |
Post Options
Thanks(0)
Quote Reply
Topic: Using other language ResourcesPosted: 12 March 2004 at 5:13am |
|
What is the correct way to include f.ex. german language resources in my MFC application using Toolkit Pro ? #include <XTToolkitPro.rc> in the .rc2 inckudes always the english resources. But there is no language dependant XTToolkitPro.rc file. Please help |
|
![]() |
|
Cezariusz
Moderator Group
Joined: 14 May 2003 Location: Poland Status: Offline Points: 16 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 March 2004 at 5:24am |
|
If you always want to include German resources just write:
#include <L.de\XTToolkitPro.rc> If you need to inlcude different resources depending on the build language, you could use a macro like this: #ifdef RC_LANGDIR #define LOCDIR(f) <l.##RC_LANGDIR##\\f> #include LOCDIR(XTToolkitPro.rc) #undef LOCDIR #else #include "XTToolkitPro.rc" #endif And add apropriate definition to the configuration, for example: # ADD RSC /d RC_LANGDIR=de |
|
![]() |
|
Alex H.
Senior Member
Joined: 12 February 2004 Status: Offline Points: 266 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 March 2004 at 6:47am |
|
Thank you for your answer ! I use version 8.61 and in my version your code doesn't work. The direcotory L.de doesn't exist in my installation. Instead: include\controls\L\XTResource.de.rc include\CommandBars\L\XTPCommandBarsResource.de.rc ... exist. |
|
![]() |
|
Cezariusz
Moderator Group
Joined: 14 May 2003 Location: Poland Status: Offline Points: 16 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 March 2004 at 6:53am |
|
I"m using the standard edition, so you'll have to modify the macro.
|
|
![]() |
|
stuebing
Newbie
Joined: 29 October 2003 Location: Germany Status: Offline Points: 14 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 March 2004 at 7:09am |
|
Hi,
how to include two different languages into one application executable? I already tried different settings in my *.rc2-file, but did not succeed. Thanks, Andreas |
|
![]() |
|
kstowell
Admin Group
Joined: 25 January 2003 Location: MIchigan, USA Status: Offline Points: 496 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 April 2004 at 1:59pm |
|
We are working on a sample that illustrates doing this, it will be available for the next release. |
|
|
Kirk Stowell, President and CEO
CODEJOCK SOFTWARE SOLUTIONS< |
|
![]() |
|
Ark42
Senior Member
Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 April 2004 at 12:25am |
|
Is it possible in 8.70 to include all of the language resources and pick them at startup, or do we have to wait in order to do that? |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 October 2004 at 6:33am |
|
I think starting with 9.0 or 9.1 XTPro supports multi-language.
You can look at the Mulit-language sample or multi-language scribble
sample for sample useage. Here is a link (I know its for ActiveX) showing all the currently supported languages.
|
|
![]() |
|
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 |