The Default Locale
The current default locale is set at startup time to some system-specific value. On Windows, for example, the system default locale is set at installation, but can be changed in the Control Panel. On POSIX systems, the environment variable LANG and the LC_* variables are used to specify the default locale.
The static method RWULocale::getDefault() returns the default RWULocale for the executable. Methods in the Internationalization Module that take an RWULocale to tailor their behavior to a specific locale use the locale returned by RWULocale:getDefault() as the default value if no locale is specified.
You can change the default locale at run time using the static method RWULocale::setDefault(). For example:
 
RWULocale loc = RWULocale("en_US");
RWULocale::setDefault(loc);