Click here to Skip to main content
15,885,914 members
Articles / Desktop Programming / MFC

RC Localization Tool (LocalizeRC)

Rate me:
Please Sign up or sign in to vote.
4.89/5 (53 votes)
14 Jan 2004BSD9 min read 487.6K   9.5K   159  
A tool for localizing/translating Resource Scripts
// LocalizeRC.h : main header file for the PROJECT_NAME application
//

#pragma once

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif


// CLocalizeRCApp:
// See LocalizeRC.cpp for the implementation of this class
//

// Workspace / Registry keys
#define SEC_LASTPROJECT _T("Last Project")

#define ENT_WORKSPACE _T("Workspace")
#define ENT_LANGID _T("LanguageID")

#define ENT_OUTPUTRC _T("OutputRC")
#define ENT_LANGINI _T("LangINI")
#define ENT_INPUTRC _T("InputRC")
#define ENT_COPY _T("Copy")
#define ENT_OBSITEMS _T("ObsoleteItems")
#define ENT_NOSORT _T("NoSort")

#define STANDARD_LANGID 0x09	// English

class CLocalizeRCApp : public CWinApp
{
public:
	CLocalizeRCApp();

// Overrides
	public:
	virtual BOOL InitInstance();

// Implementation
private:
	LANGID CurLangID;

	DECLARE_MESSAGE_MAP()
	BOOL LoadLangIDDLL(LANGID LangID);
};

extern CLocalizeRCApp theApp;

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The BSD License


Written By
Web Developer
Germany Germany
Author of the shareware WinCD.

Comments and Discussions