会员中心 |  会员注册  |  兼职信息发布    浏览手机版!    精选9.9元!    人工翻译    英语IT服务 贫困儿童资助 | 留言板 | 设为首页 | 加入收藏  繁體中文
当前位置:首页 > 行业文章 > 笔译技术 > 正文

LANGUAGE SETTINGS FOR SOFTWARE TRANSLATION

发布时间: 2023-01-17 09:26:10   作者:etogether.net   来源: 网络   浏览次数:
摘要: Windows-based software resource files contain several language settings that may need to change before compiling the t...


Windows-based software resource files contain several language settings that may need to change before compiling the translated files.

When editing .rc files using a text editor, change the header information and the version stamp manually. The preferred way is to open the .rc file using the resource editor and then set all the language options.


The header of an .rc file may contain the following lines:


图1.png


This info block contains four language settings that need to be changed:


• The English (U.S.) resources comment line indicates that the resources that follow will be English. The end of a language block is defined by #endif // English (U.S.) resources.


• AFX_TARG_ENU indicates the language of the resource .dll to be used. The three letter language codes are only valid in Windows9x and NT. ENU is the language code for U.S. English. For a list of language codes, refer to the Locale Codes and IDs section on page 118.


• The LANGUAGE line defines the locale to be used in the compiled file. LANGUAGE is one of the keywords introduced with 32-bit .rc files. The two parameters following the keyword set the language and sublanguage, for example language French and sublanguage Canadian French. For a list of locales, refer to the Locale Codes and IDs section on page 118.


• The pragma code page defines the Windows character set to be used. The code page is an array that maps the integer code to the character of the character set. The number 1252 stands for the default Latin-1 ANSI code page. Code page 1252 is used for English and most European languages. Other examples of code pages are 932 (Japan), 949 (Korean), 950 (Taiwan), 1200 (Unicode), 1250 (Eastern European), 1251 (Cyrillic), 1253 (Greek), and 1254 (Turkish), 1255 (Hebrew), and 1256 (Arabic). For more information on character sets, refer to

www.microsoft.com/typography.

To set the language of resources when you are using the resource editor integrated in Microsoft Visual Studio, follow these steps:


1. Open the resource file or binary program file (.dll or .exe) to be edited.

2. Select one or more resources where the language is to be set. As a default, all resources are selected.

3. Right-click on the selection and choose the Properties command.



微信公众号

[1] [2] [下一页] 【欢迎大家踊跃评论】
我来说两句
评分: 1分 2分 3分 4分 5分
评论内容:
验证码:
【网友评论仅供其表达个人看法,并不表明本站同意其观点或证实其描述。】
评论列表
已有 0 条评论(查看更多评论)