Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Problem in german resource files
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem in german resource files

 Post Reply Post Reply
Author
Message
Alex G. View Drop Down
Groupie
Groupie


Joined: 22 December 2004
Location: Germany
Status: Offline
Points: 74
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex G. Quote  Post ReplyReply Direct Link To This Post Topic: Problem in german resource files
    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)

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.137 seconds.