That´s exactly what I am tallking about all the time. I need to find where it is done.ONEEYEMAN wrote:Hi,
Can you do that or you have trouble finding where it is being done?
Thank you.
Internationalisation Topic is solved
Re: Internationalisation
Re: Internationalisation
Hi,
Run the samplpe thru the debugger and see where it is initialized.
Thank you.
Run the samplpe thru the debugger and see where it is initialized.
Thank you.
Re: Internationalisation
Sory, but this makes everything even more complicated, have no idea about that debugger stuff. I din´t even have the debug version ofwxWidgets.ONEEYEMAN wrote:Hi,
Run the samplpe thru the debugger and see where it is initialized.
Thank you.
Re: Internationalisation
Hi,
This is a complete failure on your side.
Especially if you just starting - always start with the debug build.
Now you will have to waste extra time and create a debug build of the library.
Thank you.
This is a complete failure on your side.
Especially if you just starting - always start with the debug build.
Now you will have to waste extra time and create a debug build of the library.
Thank you.
Re: Internationalisation
Not going to create that debug stuff, as it´s complete useles for me. It´s easier to write my own translation frameworck, then that anoing and complicated debug stuff.ONEEYEMAN wrote:Hi,
This is a complete failure on your side.
Especially if you just starting - always start with the debug build.
Now you will have to waste extra time and create a debug build of the library.
Thank you.
I know, that writing own translation frameworck is really not easy, but wanted to show the complexity of that debug stuff.
Re: Internationalisation
Hi,
Out of curiosity - is you program build in Debug or Release mode?
Thank you.
Out of curiosity - is you program build in Debug or Release mode?
Thank you.
Re: Internationalisation
Release, what else. Always using Release only.ONEEYEMAN wrote:Hi,
Out of curiosity - is you program build in Debug or Release mode?
Thank you.
Re: Internationalisation
After hours of reading documentation and triing diferent stuff, looks like I finaly solve the problem:
lng is the int value of the language. This code I use at the begining of MyApp::OnInit().
Code: Select all
wxTranslations *t=new wxTranslations();
t->SetLanguage(lng);
wxLocale::AddCatalogLookupPathPrefix(".");
t->AddCatalog("translations");
wxTranslations::Set(t);