Print Page | Close Window

Resources in German

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=13441
Printed Date: 29 April 2025 at 7:12pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Resources in German
Posted By: cpehonk
Subject: Resources in German
Date 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



Replies:
Posted By: mgampi
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net