General:
Output Directory ".\new_lj___Win32_Unicode_Release2003"
Intermediate Directory ".\new_lj___Win32_Unicode_Release2003"
Configuration Type "Dynamic Library (.dll)"
Build Browse Information "No"
Use of MFC "Use Standard Windows Libraries"
Use of ATL "Not Using ATL"
Character Set "Use Multi-Byte Character Set"
Linker:
Output File "$(Output)/Sematic1049.dll"
Resources:
Culture "Russian (0x419)"
新建工程 Win32 Project "res_zhCN" "DLL" "Empty project"
从 res_RU 项目树中复制 dll_main.cpp 到新项目中
在文件浏览器中将 new_lj.rc 复制为 new_lj_zhCN.rc 并添加到新项目中
设置输出为 Semagic1033.dll,资源文件 Culture "Chinese(PRC) (0x804)"
编辑资源文件。new_lj.rc 的开始一段是 Russian resource,也许是因为作者是俄罗斯人吧,和下面一样改成 Neutral
从 300 行开始到文件结尾都是 English resource,按照网上的说法,要把这里改一下
//English (U.S) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32</font>
改成
//Chinese (P.R.C) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
#ifdef _WIN32
LANGUAGE LANG_CHINESE,SUBLANG_CHINESE_SIMPLIFIED
#pragma code_page(936)
#endif //_WIN32
文件结尾最后一个 #endif 的地方还有个注释应该改一下。
大概的菜单翻译完了,对话框大概明天可以搞定,想试试吗?
update:
今天按照 Semagic 作者说的,去下载了一份 vs2005expressB2,另外下载了 platform sdk。原来这些都是可以免费使用的,没什么发布限制,但是有技术上的限制,就是不能