Here's how I managed to set the language under Windows 98 (without any additional stuff):
Edit the autoexec.bat and add the line "SET LANG=de_DE" (for German, this is an example after all ^^) to it.
Restart your computer. (yes, this is true.. I tried if restarting into dos-mode only is enough so the changes are "applied" (wherever they are applied to))
Start Warzone.
If you want to play with another language you will need to edit your autoexec.bat and restart yet again (one of win98's hobbies).
How to set the language?
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: How to set the language?
Buginator just told me "de_DE" will not work, but "de" or "German" will... Don't know what's about that. Maybe you need to try all variants.
Re: How to set the language?
Actually, that isn't the case.DevUrandom wrote: Buginator just told me "de_DE" will not work, but "de" or "German" will... Don't know what's about that. Maybe you need to try all variants.
You can only use "German", since de_DE & de don't work.
Before when I checked, I set it to "German", then printed the results, and then set it to "de", and it printed the same results, even though "de" is invalid.
If I would have set it to "de" first, then I would have noticed it would have been the last known good language, (English in my case)...
Sorry for the confusion.
Code: Select all
setlocale(LC_ALL, "de_DE"); //fails
localeName = setlocale(LC_MESSAGES, NULL);
printf(" lang = %s\n",localeName);
setlocale(LC_ALL, "de"); // fails
localeName = setlocale(LC_MESSAGES, NULL);
printf(" lang = %s\n",localeName);
setlocale(LC_ALL, "German"); // works
localeName = setlocale(LC_MESSAGES, NULL);
printf(" lang = %s\n",localeName);
and it ends here.
- DevUrandom
- Regular
- Posts: 1690
- Joined: 31 Jul 2006, 23:14
Re: How to set the language?
On my system, Windows does not support LC_MESSAGES. The return value of setlocale() will be NULL.Buginator wrote:Code: Select all
setlocale(LC_ALL, "de_DE"); //fails localeName = setlocale(LC_MESSAGES, NULL); printf(" lang = %s\n",localeName); setlocale(LC_ALL, "de"); // fails localeName = setlocale(LC_MESSAGES, NULL); printf(" lang = %s\n",localeName); setlocale(LC_ALL, "German"); // works localeName = setlocale(LC_MESSAGES, NULL); printf(" lang = %s\n",localeName);