mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r14846) -Doc: strgen hasn't been part of the trunk/release binaries for quite a while, so point to the precompiled strgen package instead.
This commit is contained in:
parent
c7959ce2a9
commit
d5f311d3a2
@ -7,8 +7,9 @@ you have downloaded english.txt, the master language file, for. While this is
|
|||||||
not always true, namely when changes in the code have not touched language
|
not always true, namely when changes in the code have not touched language
|
||||||
files, your safest bet is to assume this 'limitation'.
|
files, your safest bet is to assume this 'limitation'.
|
||||||
As a first step you need to compile strgen. This is as easy as typing
|
As a first step you need to compile strgen. This is as easy as typing
|
||||||
'make strgen'. You can also download a precompiled binary from a release,
|
'make strgen'. You can download the precompile strgen from:
|
||||||
nightly, etc.
|
http://www.openttd.org/download-strgen
|
||||||
|
|
||||||
strgen takes as argument a txt file and translates it to a lng file, allowing
|
strgen takes as argument a txt file and translates it to a lng file, allowing
|
||||||
it to be used inside OpenTTD. strgen needs the master language file
|
it to be used inside OpenTTD. strgen needs the master language file
|
||||||
english.txt to work. Below are some examples of strgen usage.
|
english.txt to work. Below are some examples of strgen usage.
|
||||||
|
@ -411,7 +411,10 @@ Note: Do not alter the following parts of the file:
|
|||||||
8.3) Previewing:
|
8.3) Previewing:
|
||||||
---- -------------------
|
---- -------------------
|
||||||
In order to view the translation in the game, you need to compile your language
|
In order to view the translation in the game, you need to compile your language
|
||||||
file with the strgen utility, which is now bundled with the game.
|
file with the strgen utility. You can download the precompiled strgen from:
|
||||||
|
http://www.openttd.org/download-strgen
|
||||||
|
To compile it yourself just take the normal OpenTTD sources and build that.
|
||||||
|
During the build process the strgen utility will be made.
|
||||||
|
|
||||||
strgen is a command-line utility. It takes the language filename as parameter.
|
strgen is a command-line utility. It takes the language filename as parameter.
|
||||||
Example:
|
Example:
|
||||||
|
Loading…
Reference in New Issue
Block a user