Problem with LANG / LANGUAGE

Got a problem with TTDPatch? Get help here.

Moderator: TTDPatch Moderators

Post Reply
pETe!
Engineer
Engineer
Posts: 111
Joined: 12 Mar 2004 13:05
Location: Germany, near Paderborn
Contact:

Problem with LANG / LANGUAGE

Post by pETe! »

"Unknown language '1031' specified in the environment variable LANG or LANGUAGE. Known languages:
English, Czech, Danish, Dutch, Finnish, French, German, Hungarian, Italian, Norwegian, Polish, Russian, Spanish
Use SET LANG=language to select language."

What have I to do??
Must I set a Number in LANG or must I set LANG=GERMAN ???
User avatar
orudge
Administrator
Administrator
Posts: 25217
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

You must set LANG to GERMAN, not a number.
ChrisCF
Transport Empire Developer
Transport Empire Developer
Posts: 3608
Joined: 26 Dec 2002 16:39
Location: Over there --->

Post by ChrisCF »

If you have a recent enough version (I forget which version fixed this), you should be able to set a proper ISO language code, such as "de" or "de_DE".
pETe!
Engineer
Engineer
Posts: 111
Joined: 12 Mar 2004 13:05
Location: Germany, near Paderborn
Contact:

Post by pETe! »

But GERMAn will work in _every_ version??
ChrisCF
Transport Empire Developer
Transport Empire Developer
Posts: 3608
Joined: 26 Dec 2002 16:39
Location: Over there --->

Post by ChrisCF »

What version do you have?

I just consider it incorrect to reference languages by their English names in such contexts. ;)
GrinchWSLG
Engineer
Engineer
Posts: 1
Joined: 27 May 2004 08:39

Post by GrinchWSLG »

I have the same problem but i don't understand where the LANG variable is. Where is this settable?
SHADOW-XIII
Tycoon
Tycoon
Posts: 14275
Joined: 09 Jan 2003 08:37

Post by SHADOW-XIII »

run command.com (or cmd in XP) and enter there SET LANG=xxx (where xxx is language you want)
if you want to check it run SET (without any parameter)
what are you looking at? it's a signature!
x22
Engineer
Engineer
Posts: 7
Joined: 16 Apr 2004 08:30
Location: Slovakia

Post by x22 »

SHADOW-XIII wrote:run command.com (or cmd in XP) and enter there SET LANG=xxx (where xxx is language you want)
if you want to check it run SET (without any parameter)
This will only set the variable for that shell (command/cmd window) so you will have to run ttdpatch from it.
To set it permanently on dos/windows 95/98/me add the line

Code: Select all

set LANG=xxx
to c:\autoexec.bat and restart windows. (Backup the file before doing it)
On NT/2000/XP you can set environment variables in control panel/system/advanced/environment variables (http://www.windows-help.net/WindowsXP/howto-04.html).
To check the setting run SET as described by SHADOW-XIII.

You can also create ttdp.bat (or any name ending with .bat) file in ttd directory with two lines:

Code: Select all

set LANG=xxx
ttdpatchw.exe
and run the game with that file instead of ttdpatchw.exe if you don't want to make changes in system configuration.
Post Reply

Return to “Problems with TTDPatch”

Who is online

Users browsing this forum: No registered users and 17 guests