C++
void SetCurrentLocale( const wchar_t* locale );
Description
Sets the current locale. By default current user locale set in the system is used as current locale. This function can be used to set an explicit locale as current locale.
Parameters
| Parameters | Description |
|---|---|
| locale | The current locale string. The name must be in the format xx-YY (examples: en-US, de-DE, fr-FR). If this is null or empty string, current user locale set in the system will be used as current locale, but the empty string will still be returned if the client calls the getter API. |