Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: languages control panel french spanish italian english
To change the international settings, go into your Control Panel and change the Regional Settings (in Windows 95) or the International Settings (in Windows 3.1), so that the PC language is set to French (Standard). Setting it to the Standard setting, rather than to, for example, French (Belgian), is probably a better bet.
When you install WinBatch, make sure you have checked the option to install foreign language support, which should install the language files in your \WinBatch\System directory. For example, the French files would be named, WWWELANG.FRA, and WWWDLANG.FRA. Both of these files need to be present on the PC where the WBT or WinBatch EXE file is running for the foreign language support to work. These files are not compiled into the exe. They must be included with the EXE and placed in the current directory with the EXE.
You can force it to be in French by setting it in the C:\WINDOWS\WWWBATCH.INI file. In the [Main] section of the file, insert or edit the key "Language=" and you should set that to "fra" for French. So the entry would look like:
[MAIN] LANGUAGE=fraNote that not all dialogs will be translated completely. Somethings, like some error messages, are hardcoded in English. Only 95% of the strings are translatable.
Functions like the AskYesNo dialog use standard Windows dialogs which use whatever version of Windows you have installed. So, if the English version is installed, it will use YES NO and CANCEL. And, in the French version it will use French equivalents.
Therefore, if you need it in French no matter what language of Windows is installed, then you have to make your own dialog.
sendkey("^{TAB}")This ought to perform a control TAB key sequence. It doesn't seem to work however.
The idea is to jump from one tab to the next in the regional settings window. It is unfortunately not possible to do so by means of an alt-character combination.
I ended up using the Control Manager Extender. Try using this piece of code :
AddExtender("wwctl34I.dll") Run("rundll32.exe", "shell32.dll,Control_RunDLL intl.cpl") title="Regional Settings Properties" multiwnd=DllHwnd(title) tabtitle="Number" systabwnd=cWndByClass(multiwnd,"SysTabControl32") cSetTabItem(systabwnd,2)This will change the tab to the "Number tab".
Article ID: W13420
Filename: International Languages - Regional Settings.txt
File Created: 2001:03:01:14:34:34
Last Updated: 2001:03:01:14:34:34