Coming back to wxPython -- several questions

> -- the ability for the user to change languages while the program is
> running or after a restart if required.

Doing it "live" in a running program is not really supported, but people
have done it in a brute-force manner.

I've done this "in a brute-force manner" if you will. It's been
interesting. It's ended up, from a practical viewpoint, working out better
than it sounds from this post.

Prompts from YOUR program are pretty easy. When the user changes languages,
you just reset the text for anything that is appearing on screen.

Some dialogs come from wxPython, such as the Print Preview dialog. These
won't change unless you restart your program, as far as I know.

Some dialogs come from the OS itself, such as the File Open dialog and the
Print Setup dialog. These will be in the language the OS is installed in no
matter what language you are using in your program, again as far as I know.

So the best I've been able to achieve is a sort of mixed-language model,
where almost everything changes on the fly, and a little bit more changes
when you restart the program. I think it covers pretty well, though, as I
think changing languages on the fly is a very rare thing in most real-life
circumstances. The only situation I can think of where that feature will
actually be used in my application is if I ever do a training session in a
country that uses one of the supported languages and I need to switch the
prompts to English so I can help a user figure something out.

David
http://www.transana.org