Subversion Repositories autosfx

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 daniel-mar 1
 
2
        How to Make a New Resource File for Another Language
3
        ----------------------------------------------------
4
 
5
In the zip project, we use resource files to hold the 
6
error messages that can be generated.  This lets us support 
7
more than 1 language without much trouble.
8
 
9
For now, these are the languages we support. 
10
 
11
   ZipMsgBR.rc - Brazilian (Portuguese)
12
   ZipMsgCT.rc  - Catalan
13
   ZipMsgDK.rc  - Danish
14
   ZipMsgNL.rc  - Dutch
15
   ZipMsgFI.rc  - Finnish
16
   ZipMsgFR.rc  - French
17
   ZipMsgDE.rc  - German
18
   ZipMsgHU.rc  - Hungarian
19
   ZipMsgNO.rc  - Norwegian
20
   ZipMsgPT.rc  - Polish
21
   ZipMsgSW.rc  - Swedish
22
   ZipMsgES.rc  - Spanish
23
   ZipMsgS1.rc  - Spanish
24
   ZipMsgSI.rc  - Slovenian
25
   ZipMsgUS.rc  - US / English 
26
 
27
   ZipMsgCN.rc  - Chinese [ GB(K) - commonly used in China and Singapore for
28
                            simplified Chinese writing.]
29
   ZipMsgCZ.rc  - Czech
30
   ZipMsgGR.rc  - Greek
31
   ZipMsgIT.rc  - Italian
32
   ZipMsgJP.rc  - Japanese
33
   ZipMsgMY.rc  - Malaysia
34
   ZipMsgRO.rc  - Romanian
35
   ZipMsgRU.rc  - Russian
36
   ZipMsgYU.rc  - Serbian (Yugoslavia)
37
   ZipMsgTW.rc  - Taiwanese [Big5 - commonly used in Taiwan and Hong Kong for
38
                             traditional Chinese writing.]
39
 
40
We would like YOU to help us by porting the error messages
41
from English into another language that we don't support yet.
42
 
43
The files ZipMsg.h holds the resource Id numbers, and ZipMsgUS.rc
44
holds the source for the English text error messages.
45
 
46
To make a resource file for a new language, follow these
47
steps:
48
 
49
1) select a 2 letter code for your language
50
   example: "DE" for German (Deutch)
51
 
52
2) Create a new source file for your messages:
53
   COPY ZipMsgUS.rc ZipMsgDE.rc
54
 
55
3) Edit your new file - translate the text to your language
56
   NOTEPAD ZipMsgDE.RC
57
 
58
4) Compile your source to make a RES file:
59
   C:>brcc32 ZipMsgDE.RC
60
 
61
5) E-mail me your new .RC and .RES files! Tell me the full 
62
   name of the new language, and your full name and e-mail address.
63
   I will refer to your name and address in the help file unless
64
   you tell me not to.
65
 
66
 
67
Eric Engler
68
englere@abraxis.com