SYS_GetLocale Function

Action

Gets the user locale of the machine on which the application under test is executing.

Syntax

sLocale = SYS_GetLocale ()

Notes

A string for the current locale. If the locale is mixed, then the string will be comprised of sub strings for each category. The sub strings are separated by semicolons, and each qualified locale is preceded by its category and an equal sign.

The 4Test locale is a Posix compliant locale.

You can use this function in an environment that uses the Open Agent or Classic Agent. Silk Test Classic automatically uses the appropriate Agent.