SYS_GetLocale Function


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


sLocale = SYS_GetLocale ()


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.