You define a locale using the LANG environment variable. LANG is set using the operating system command SET:
set LANG=language
where the parameters are:
language | The language environment in which you wish to run your program. This determines which message catalog is open so that if an error occurs, the error message is output in the selected language.
language can take any of the following values:
|
_ | The delimiter for language and territory, if territory is specified. |
The following example illustrates how to specify a language of French and use the operating system values for the territory and codepage:
set LANG=7