bool AddCatalog(const wxChar *szDomain,
wxLanguage msgIdLanguage, const wxChar *msgIdCharset);
+ // check if the given locale is provided by OS and C run time
+ static bool IsAvailable(int lang);
+
// check if the given catalog is loaded
bool IsLoaded(const wxChar *szDomain) const;
#define wxTRANSLATE(str) _T(str)
-// Note: use of 'inline' here can cause this symbol not to be found when compiled with gcc
-//const wxChar *wxGetTranslation(const wxChar *sz);
-#define wxGetTranslation(sz) (sz)
+inline const wxChar *wxGetTranslation(const wxChar *sz,
+ const wxChar *WXUNUSED(domain) = NULL)
+{
+ return sz;
+}
#endif // wxUSE_INTL/!wxUSE_INTL