Locale getLocale()
None.
None.
This method must be run on the map variable of MapExeContext type, which is named cwMapCtx when generated by the system, or which you name when calling a map in an environment that does not automatically generate map code (such as within a collaboration).
The following example retrieves the locale of the map execution context into a variable and then reports it with a trace statement:
Locale mapLocale = cwMapCtx.getLocale(); String mapLocaleToString = mapLocale.toString(); trace(3, "THE MAP LOCALE IS: " + mapLocaleToString);