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

Sets up the object to run properly.

The pLangTag string is mapped to a full windows or Unix locale string using the mapping definitions in the pTagMapFile.

Parameters
flags[ in ] Set perferences for the new object.
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.