Print Page | Close Window

Problem in german resource files

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=22941
Printed Date: 24 December 2024 at 1:02pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem in german resource files
Posted By: Alex G.
Subject: Problem in german resource files
Date Posted: 24 February 2016 at 4:04pm
Hello,

Our Ankhor GUI can be set to german or english. Therefore we're using the english and german .rc files to build a seperate (german) resource.dll.

Do build a german dll, I'm using preprocessor defines like:

_XTP_RESOURCE_LANGUAGE=de
AFX_TARG_DEU

to get the desired result.

A real pain are the Resource_de.rc files from the various controls.
For every new release, I have to modify these 11 files manually.

..\Xtreme ToolkitPro\Source\ShortcutBar\res\Resource_de.rc

The problem:

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)

needs to be changed into

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU)


I would really like to get this fixed !!


BTW:

XTP_IDS_SHORTCUT_NAVIGATIONPANE      "?a?????? pe?????s??"

must be fixed:

XTP_IDS_SHORTCUT_NAVIGATIONPANE      "Navigationsbereich"

Thanks in advance,
Alex




// ShortcutBar resource file
//
// (c)1998-2016 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN
// CONSENT OF CODEJOCK SOFTWARE.
//
// THIS SOURCE CODE CAN ONLY BE USED UNDER THE TERMS AND CONDITIONS OUTLINED
// IN THE XTREME TOOLKIT PRO LICENSE AGREEMENT. CODEJOCK SOFTWARE GRANTS TO
// YOU (ONE SOFTWARE DEVELOPER) THE LIMITED RIGHT TO USE THIS SOFTWARE ON A
// SINGLE COMPUTER.
//
// CONTACT INFORMATION:
// support@codejock.com
// http://www.codejock.com
//
/////////////////////////////////////////////////////////////////////////////

#include "ShortcutBar/Resource.h"
#include "ShortcutBar/res/Resource-Neutral.rc"

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU)
#ifdef _WIN32
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
#pragma code_page(1252)
#endif //_WIN32

/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE DISCARDABLE
BEGIN
    XTP_ID_SHORTCUT_SHOW_MORE          "Weitere Schaltflächen anzeigen"
    XTP_ID_SHORTCUT_SHOW_FEWER          "Weniger Schaltflächen anzeigen"
    XTP_IDS_SHORTCUT_CONFIGURE          "Schaltflächen konfigurieren"
    XTP_IDS_SHORTCUT_NAVIGATIONPANE      "?a?????? pe?????s??"
END

#endif // !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU)




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