For the complete documentation index, see llms.txt. This page is also available as Markdown.

GetLocale

Retrieves the the string representation of the current locale

Method Signature

GetLocale()

Arguments

This function does not accept any arguments

Examples

Output current Locale than set it to swiss locale

writeOutput( getlocale() );
writeOutput( " → " );
setLocale( "de_ch" );
writeOutput( getlocale() );

Result: english (us) → german (swiss)

Additional Examples

Last updated

Was this helpful?