+inline const wxChar *wxGetTranslation(const wxChar *sz1, const wxChar *sz2,
+ size_t n, const wxChar* domain=NULL)
+{
+ wxLocale *pLoc = wxGetLocale();
+ if (pLoc)
+ return pLoc->GetString(sz1, sz2, n, domain);
+ else
+ return n == 1 ? sz1 : sz2;
+}