Locale Function

Returns an English locale name from a locale ID.

Locale (LocaleID)

Parameters

LocaleID  -  (Input, expression, Required)

The locale ID whose locale name is required.

Return Value

A string name for the locale ID.

Note:

The locale, language, and sub-language IDs vary between different versions of Windows. Refer to the Microsoft SDK documentation for a complete list of locale and language IDs, or go to: http://msdn.microsoft.com/en-us/goglobal/bb964664.

Examples

Locale (System.LocaleID)

Returns "English (United States)" for an English (United States) system.  

Locale (App.LocaleID)

Returns "French (Standard)" for a French (Standard) connection.

TIP:

Functions are specifically for use in the Macro Editor. Refer to Microsoft's official VB and JScript documentation for scripting equivalents.

See Also

Functions | AbbrevLocale function | LangID function | Locale function | SubLangID function


© 2004-2021 looksoftware. All rights reserved.