Difference between revisions of "ECS Vectors Translations"

From TTWiki
Jump to navigationJump to search
m (Replaced toc)
m (Bot: Automated text replacement (--= +==))
Line 1: Line 1:
'''''ECS Vectors Translations'''''
 
   
=ECS Vectors Translations=
 
   
 
This section is created to help ECS Vectors to speak your native languages. Please add translations to the sections. Also please check the existing one. May be it has mistakes.
 
This section is created to help ECS Vectors to speak your native languages. Please add translations to the sections. Also please check the existing one. May be it has mistakes.
   
* [[ECSVTGeneral|ECS Vectors Translations - General strings]]
+
* [[ECSVTGeneral| ECS Vectors Translations - General strings]]
* [[ECSVTTown|ECS Vectors Translations - Town vector strings]]
+
* [[ECSVTTown| ECS Vectors Translations - Town vector strings]]
* [[ECSVTBasic|ECS Vectors Translations - Basic vector strings]]
+
* [[ECSVTBasic| ECS Vectors Translations - Basic vector strings]]
* [[ECSVTChemical|ECS Vectors Translations - Chemical vector strings]]
+
* [[ECSVTChemical| ECS Vectors Translations - Chemical vector strings]]
* [[ECSVTMachinery|ECS Vectors Translations - Machinery vector strings]]
+
* [[ECSVTMachinery| ECS Vectors Translations - Machinery vector strings]]
* [[ECSVTConstruction|ECS Vectors Translations - Construction vector strings]]
+
* [[ECSVTConstruction| ECS Vectors Translations - Construction vector strings]]
* [[ECSVTWood|ECS Vectors Translations - Wood vector strings]]
+
* [[ECSVTWood| ECS Vectors Translations - Wood vector strings]]
* [[ECSVTAgricutural|ECS Vectors Translations - Agricultural vector strings]]
+
* [[ECSVTAgricutural| ECS Vectors Translations - Agricultural vector strings]]
* [[ECSVTHouses|ECS Vectors Translations - Houses]]
+
* [[ECSVTHouses| ECS Vectors Translations - Houses]]
* [[ECSVTParameters|ECS Parameter translation]]
+
* [[ECSVTParameters| ECS Parameter translation]]
** [[ECSVTParAllvectors|Parameters all vectors]]
+
** [[ECSVTParAllvectors| Parameters all vectors]]
** [[ECSVTParTownVector|Parameters town vector]]
+
** [[ECSVTParTownVector| Parameters town vector]]
** [[ECSVTParECSHouses|Parameters ECS houses]]
+
** [[ECSVTParECSHouses| Parameters ECS houses]]
   
 
=How to translate=
 
=How to translate=
   
The following instructions are based on [[Action4|Action 4]] description
+
The following instructions are based on [[Action4| Action 4]] description
   
 
Note: All strings should be UTF-8
 
Note: All strings should be UTF-8
Line 29: Line 27:
 
Find a general string. If would look like
 
Find a general string. If would look like
   
21 * 34 04 0A '''FF''' 01 '''00 D0''' 94 80 " should be built in towns" 00
+
21 * 34 04 0A '''FF''' 01 '''00 D0''' 94 80 " should be built in towns" 00
   
 
'''FF''' (FFh = 80h + 7Fh) indicates a general string, that is used when translation is not defined. You need to translate it.
 
'''FF''' (FFh = 80h + 7Fh) indicates a general string, that is used when translation is not defined. You need to translate it.
Line 35: Line 33:
 
if a string like
 
if a string like
   
22 * 43 04 0A '''82''' 01 '''00 D0''' 94 80 " muss in einer Stadt gebaut werden" 00
+
22 * 43 04 0A '''82''' 01 '''00 D0''' 94 80 " muss in einer Stadt gebaut werden" 00
   
 
goes below, than it means that a German ('''82''' = 80h + 02h, where 02h is German) translation is represented (here '''00 D0''' is the string ID, translation is applied to the string with the same ID)
 
goes below, than it means that a German ('''82''' = 80h + 02h, where 02h is German) translation is represented (here '''00 D0''' is the string ID, translation is applied to the string with the same ID)
Line 41: Line 39:
 
If the string is wrong, you can modify it. If the string is not represented, you can add it.
 
If the string is wrong, you can modify it. If the string is not represented, you can add it.
   
The list of languages is represented [[Action4|here]]
+
The list of languages is represented [[Action4| here]]
   
 
==How to modify a string==
 
==How to modify a string==
Line 47: Line 45:
 
Change the string you need
 
Change the string you need
   
1 * 1 04 0A 82 01 00 D0 '''94 80 " muss in einer Stadt gebaut werden" 00'''
+
1 * 1 04 0A 82 01 00 D0 '''94 80 " muss in einer Stadt gebaut werden" 00'''
   
 
==How to add a new string==
 
==How to add a new string==
Line 71: Line 69:
 
Then you add you new string
 
Then you add you new string
   
1 * 1 04 0A 82 01 00 D0 '''94 80 " muss in einer Stadt gebaut werden" 00'''
+
1 * 1 04 0A 82 01 00 D0 '''94 80 " muss in einer Stadt gebaut werden" 00'''
   
 
You have to use the same string codes as string, which you are translating. The order is important. The place in text is important for decoration code, is not important for string and numbers
 
You have to use the same string codes as string, which you are translating. The order is important. The place in text is important for decoration code, is not important for string and numbers
   
1 * 1 04 0A 82 01 00 D0 '''94 80''' " muss in einer Stadt gebaut werden" '''00'''
+
1 * 1 04 0A 82 01 00 D0 '''94 80''' " muss in einer Stadt gebaut werden" '''00'''
   
 
String codes are described [http://newgrf-specs.tt-wiki.net/wiki/StringCodes here].
 
String codes are described [http://newgrf-specs.tt-wiki.net/wiki/StringCodes here].

Revision as of 10:21, 15 June 2011


This section is created to help ECS Vectors to speak your native languages. Please add translations to the sections. Also please check the existing one. May be it has mistakes.

How to translate

The following instructions are based on Action 4 description

Note: All strings should be UTF-8

What to translate

Find a general string. If would look like

21 * 34 04 0A FF 01 00 D0 94 80 " should be built in towns" 00

FF (FFh = 80h + 7Fh) indicates a general string, that is used when translation is not defined. You need to translate it.

if a string like

22 * 43 04 0A 82 01 00 D0 94 80 " muss in einer Stadt gebaut werden" 00

goes below, than it means that a German (82 = 80h + 02h, where 02h is German) translation is represented (here 00 D0 is the string ID, translation is applied to the string with the same ID)

If the string is wrong, you can modify it. If the string is not represented, you can add it.

The list of languages is represented here

How to modify a string

Change the string you need

1 * 1 04 0A 82 01 00 D0 94 80 " muss in einer Stadt gebaut werden" 00

How to add a new string

You should not care about the string number nor length. you can simply use

1 * 1

because NFOrenum would fix it. All you need is to add a right language (+80h if you translate FF string, and a language code if 7F).

1 * 1 04 0A 82 01

at the right ID

1 * 1 04 0A 82 01 00 D0

Then you put a new string

The number of strings and string class is copied from string, which you are translating

1 * 1 04 0A 82 01 00 D0

Then you add you new string

1 * 1 04 0A 82 01 00 D0 94 80 " muss in einer Stadt gebaut werden" 00

You have to use the same string codes as string, which you are translating. The order is important. The place in text is important for decoration code, is not important for string and numbers

1 * 1 04 0A 82 01 00 D0 94 80 " muss in einer Stadt gebaut werden" 00

String codes are described here.