wwwdlang.deu and IntControl 1005
Keywords: wwwdlang.deu IntControl 1005 IntControl(26,0,0,0,0)
Question:
Problem: the Message caused from IntControl 1005 (Please Close all open...) when ending windows, on some Computers is in German, on some computers in english.I have changed the wwwdlang.deu at X7055. wwwdlang.deu is in the same directory as the executable calling IntControl 1005. All Computers copy the same files (dll, exe, deu) and execute the executable from the same Path.
What is the reason for this Problem?
Answer:
- Perhaps your system language is not set to German in Control Panel? Maybe set to Swiss-German or something like that. You could try setting:
[Main] Language=deuin WWWBATCH.INI, or under the equivalent registry key.The string is definitely loaded from the string table, and not hard-coded.
WinBatch examines the language setting of windows installed on the computer and tries to react accordingly. It matches the Windows language version with the available translation files (wwwdlang.??? and the wwwelang.??? --- the extension depends on the language you specified during installation --- those files need to be in the same directory as a compiled Winbatch EXE when distributed.). There is a way (somehow) to specify what language file to use, but it should be automatic. If a language does not match, then it uses English.
If language=deu is set in the ini file and the deu language files exist, then WinBatch will use German. Otherwise we inspect the system for the users language preferences. If we have the language files for their preference, then we use their language.
If we do not understand the preference OR we do not have the language files, then we use English.
- To force German you can set....
IniWritePvt("Main","Language","deu","wwwbatch.ini") IntControl(26,0,0,0,0)But I am not real sure it is a good idea to override the current user preferences on each individual workstation.
- You will also want to include the language files....wwwdlang.deu and wwwelang.deu with your program so we have access to the required strings....
Article ID: W13422Filename: WWWDLANG.DEU and IntControl 1005.txt