It's easy to translate

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
User avatar
Killer 11
Tycoon
Tycoon
Posts: 2463
Joined: 06 Jan 2004 18:38
Location: Kaunas, Lithuania
Contact:

It's easy to translate

Post by Killer 11 »

Go to lang folder and open english.txt .
Then just tipe what do you want :P
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

Well, it might be better to copy it to another file and give it the name of the lagnuage, then translate. If there isn't already a way to select a different language to run the game in, I'm sure there soon will be.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

That is basically it, yes. You then have to rebuild the english.lng file with the strgen.exe tool. Please note that the game only reads english.lng files, it doesn't try to read anything else.

(Please also note that english.lng should actually be called american.lng)
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

I imagine there will be a fix that provides a drop-down somewhere for you to select the language, which will be based on the .lng files that are present. That'd be relatively simple to do, and much better than having to compile the file and giving them all the same name :?
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

I'm sure it won't be too difficult. All in good time...
ChrisCF
Transport Empire Developer
Transport Empire Developer
Posts: 3608
Joined: 26 Dec 2002 16:39
Location: Over there --->

Post by ChrisCF »

Each language file should be called something more appropriate (e.g. ISO language codes) in any case. Put this down as something to do later. :)
Bugzilla available for use - PM for details.
User avatar
Born Acorn
Tycoon
Tycoon
Posts: 7595
Joined: 10 Dec 2002 20:36
Skype: bornacorn
Location: Wrexham, Wales
Contact:

Post by Born Acorn »

pressing shift on medium zoom is the the new movie 'time machine' :!:
Image
ChrisCF
Transport Empire Developer
Transport Empire Developer
Posts: 3608
Joined: 26 Dec 2002 16:39
Location: Over there --->

Post by ChrisCF »

Each language file should be called something more appropriate (e.g. ISO language codes) in any case. Put this down as something to do later. :)
Bugzilla available for use - PM for details.
User avatar
Killer 11
Tycoon
Tycoon
Posts: 2463
Joined: 06 Jan 2004 18:38
Location: Kaunas, Lithuania
Contact:

Post by Killer 11 »

In the meantime i prepared a language changing device(soft)
only for duch you will need to translate the duch.txt and then only click on duchlang.bat it will install new and backup the old language.

read comment in zip file for more information.

IT WILL ONLY WORK IF YOR DIR IS C:\GAMES\OTTD\
Attachments
Dutch-template.zip
transmachine
(33.42 KiB) Downloaded 329 times
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 24 guests