Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Resources in German
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Resources in German

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


Joined: 27 April 2008
Location: Germany
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote cpehonk Quote  Post ReplyReply Direct Link To This Post Topic: Resources in German
    Posted: 18 February 2009 at 9:44am
Hi !
 
I need some of the resources translated into German. Is there an easy way to do so ?
E.g. to replace only some menus I need ?
Or do I have to translate the complete XTCommandBarsPro.rc file ?
Or ... am I doing something wrong with including this file to my project ?
 
Any help appreciated !
 
Greetings
Chris
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 18 February 2009 at 11:03am
Hi;

The toolkit is allready translated (more or less) into German language, so I do it this way to switch to German:

In .rc2 file I add the lines
#define _XTP_RESOURCE_LANGUAGE de
#include "XTToolkitPro.rc"


and in  CMyApp::InitInstance() I call

XTPResourceManager()->SetResourceHandle(AfxGetInstanceHandle());


Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022
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.