Page 1 of 1

Problem with LANG / LANGUAGE

Posted: 17 May 2004 06:07
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 ???

Posted: 17 May 2004 11:20
by orudge
You must set LANG to GERMAN, not a number.

Posted: 17 May 2004 22:14
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".

Posted: 18 May 2004 07:39
by pETe!
But GERMAn will work in _every_ version??

Posted: 18 May 2004 12:36
by ChrisCF
What version do you have?

I just consider it incorrect to reference languages by their English names in such contexts. ;)

Posted: 27 May 2004 08:49
by GrinchWSLG
I have the same problem but i don't understand where the LANG variable is. Where is this settable?

Posted: 27 May 2004 12:10
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)

Posted: 28 May 2004 13:30
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.