38 typedef std::map<SWBuf, SWLocale *, std::less<SWBuf> >
LocaleMap;
79 virtual SWLocale *getLocale(
const char *name);
94 virtual const char *
translate(
const char *text,
const char *localeName = 0);
100 virtual const char *getDefaultLocaleName();
106 virtual void setDefaultLocaleName(
const char *name);
112 static void setSystemLocaleMgr(
LocaleMgr *newLocaleMgr);
116 virtual void loadConfigDir(
const char *ipath);
#define SWORD_NAMESPACE_START
std::list< SWBuf > StringList
std::map< SWBuf, SWLocale *, std::less< SWBuf > > LocaleMap
static LocaleMgr * systemLocaleMgr
#define SWORD_NAMESPACE_END