SetLocale
Method Signature
SetLocale(locale=[string])Arguments
Argument
Type
Required
Description
Default
Examples
Set Locale Script Example
<bx:script>
currentLocale = getLocale();
writeOutput( "Current: " );
writeDump( currentLocale );
writeOutput( "<br />" );
setLocale( "French (Belgian)" );
writeOutput( "New: " );
writeDump( getLocale() );
writeOutput( "<br />" );
setLocale( currentLocale );
writeOutput( "Original: " );
writeDump( getLocale() );
</bx:script>
Additional Examples
Related
Last updated
Was this helpful?
