// forward decls
// ----------------------------------------------------------------------------
+class WXDLLIMPEXP_FWD_BASE wxArrayString;
class WXDLLIMPEXP_FWD_BASE wxTranslationsLoader;
class WXDLLIMPEXP_FWD_BASE wxLocale;
void SetLanguage(wxLanguage lang);
void SetLanguage(const wxString& lang);
+ // get languages available for this app
+ wxArrayString GetAvailableTranslations(const wxString& domain) const;
+
// add standard wxWidgets catalog ("wxstd")
bool AddStdCatalog();
virtual wxMsgCatalog *LoadCatalog(const wxString& domain,
const wxString& lang) = 0;
+
+ virtual wxArrayString GetAvailableTranslations(const wxString& domain) const = 0;
};
virtual wxMsgCatalog *LoadCatalog(const wxString& domain,
const wxString& lang);
+
+ virtual wxArrayString GetAvailableTranslations(const wxString& domain) const;
};
virtual wxMsgCatalog *LoadCatalog(const wxString& domain,
const wxString& lang);
+ virtual wxArrayString GetAvailableTranslations(const wxString& domain) const;
+
protected:
// returns resource type to use for translations
virtual wxString GetResourceType() const { return "MOFILE"; }