Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6II18n::setLocale ( const P6CHAR pLocale)
pure virtual

Allows the caller to change the currently active locale.

This function can be called any number of times after initialize. The pLangTag string is mapped to a full windows or Unix locale string using the mapping definitions in the pTagMapFile.

Parameters
pLocale[ in ] A standard langange tag (e.g., en_us, fr_fr, fr_ca (french canadian)). This parameter can be set to NULL, in which case a default is used.
Returns
SuccessP6R::eOk 
FailureP6R::ePathNotFoundCould not open locale mapping file.
P6R::eFailFailed to convert the pLocale string to a value locale string supported by the system.
P6R::eNotInitializedA successful call to initialize was not made before this call.