From: Werner F. Bruhin <werner.bruhin@fr...> - 2006-03-30 15:06:59
Adrian Uhlenbroch wrote:
>at first I want to thank you 4 the tutorial in the wiki, that gave me a
>lot of hints how to handle i18n.
Thanks, but I only did some parts of that, I believe most of it was done
by Pierre Rouleau IIRC.
>But at the end I'm still having a problem...
>Having written an app using wxPython all the things are fine as long as
>I run it as a py-script.
>As soon as I create an exe-file the i18n works only half. All the
>strings which are in the mo-file of the application are translated, but
>not the standard ones of wxPython (Cancel-Buttons etc.).
>There are no errors neither during compilation nor while running the exe.
>I have googled a lot but haven't found any hint for a solution.
>Do you have any idea??
You need to include the wx message catalog with your application
"wxstd.mo" for each language except English. However this will not
solve all the problems as some of the texts come from the native
control, e.g. Windows and I don't think you can do anything about that -
except running Windows in the appropriate language.