-
Notifications
You must be signed in to change notification settings - Fork 3
/
Localization.en.txt
68 lines (45 loc) · 4.24 KB
/
Localization.en.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Localization for the Commandos Developing Toolkit
F.R.C.
Localization for this toolkit is very simple and requires no background of programing or cracking.
I will describe it in three parts.
I.Common situation
All you need to do is as follows(use "Bin\Y64Manager.en.ini" for example):
1.Replace the comment in the "/* */".
2.Replace the <languagecode2>-<country/regioncode2> in the brackets. (From "[en]" to "[ru]","[es-ES]",ect.) You are recommended to use a code without <country/regioncode2>, if there isn't one yet.
3.Replace the font name with a proper font name. (From "Courier New" to ...)
4.Replace the words after each of the other equal signs with words in the target language in the localization files. (Replace "PCK Manager" to "PCK...")
5.Save the file with the name "<programname>.<languagecode2>.ini" or "<programname>.<languagecode2>-<country/regioncode2>.ini". ("Y64Manager.ru.ini" or "Y64Manager.es-ES.ini")
II.For country/region specifics:
You can place localization sections of the same language into different files or the same file, both bringing the effect of replacing unspecific items with specific items.
The following two are equivalent.
One.
Program.en.ini
[en]
Text1 = Hello
Text2 = Welldone
Text3 = Color
[en-GB]
Text3 = Colour
Two.
Program.en.ini
[en]
Text1 = Hello
Text2 = Welldone
Text3 = Color
Program.en-GB.ini
[en-GB]
Text3 = Colour
III.For meaning transfering signs:
1.You can use "\r\n", "\x??" to represent line feed and character with the ASCII code ??.
2.You can use "\x5C" to represent a single "\".
3.You can disable the transfering with a "@" before the string.
4.You can use multiline text with a pair of "{}", but "{" must in the line with the equation sign, and "}" must end a line.
5.You can use a external file with a "$" and the file path.
Examples:
FileName = @F:\Comm2\DATA.PCK
INISettingNotice = Y64Manager INI File\r\nPlease don 't edit this file unless you know the usage exactly.
INISettingNotice = {
Y64Manager INI File
Please don 't edit this file unless you know the usage exactly.
}
TextBox_Readme = $Y64Manager.en.txt