I have the requirement to show dialogs and messages in adjustable language, but numbers, times, currency should always be in English locale.
So I created
Code: Select all
// globals
wxTranslations translation;
MyApp::OnInit() {
m_Language = wxLANGUAGE_GERMAN; // example
locale.Init(wxLANGUAGE_ENGLISH, wxLOCALE_DONT_LOAD_DEFAULT);
translation.AddCatalog("DI", m_Language);
translation.SetLanguage(m_Language);
wxTranslations::Set(&translation);
}
The object to be destructed seems to contain uninitialized pointers. What can I do? Thanks for any help.