Culture Information on the MainBoss Command Line |
This help file applies to an out-of-date version of MainBoss.
The most recent version of MainBoss is MainBoss 4.2.4.
This help file does not exist in MainBoss 4.2.4, but the index for that version can be found here.
< Previous section | Table of Contents | Index | Next section >
The /CultureInfo option lets you specify Windows "culture" setting to be used when you execute MainBoss. A culture is a collection of information about language and other locale-based information, e.g. what monetary symbols are used in a particular place.
By default, MainBoss takes its culture information from the "Format" field in the Format section of your Windows Regional Settings. It then attempts to operate in the language given by those settings (e.g. MainBoss attempts to run in French if that's what your settings dictate). However, if you specify a /CultureInfo argument on the command line, the argument overrides the Regional Settings. This is particularly useful if you're creating a batch command file or shell script that you want to have work in a specific language, no matter what the user's Regional Settings might be.
The argument of /CultureInfo is the official Windows "CultureInfo" string name for the desired culture. For example, if you want generic Spanish, you'd specify /CultureInfo:es-ES; for U.S. English, you'd use /CultureInfo:en-US. See your Windows documentation for recognized "CultureInfo" string identifiers.
Options on the MainBoss command line are not affected by /CultureInfo. For example, the option /Mode:Requests does not change if you switch to a language where "requests" is translated to a different word.
Note: If you change the culture information with /CultureInfo, MainBoss makes the change after the command line arguments have been parsed. This means that if your command line has syntax errors, you may see error messages in the user's original preferred language, not in the language specified by /CultureInfo.
< Previous section | Table of Contents | Index | Next section >