multilanguage application - step by step

Peter Irbizon peterirbizon at gmail.com
Fri Jul 29 11:18:32 CEST 2011


Hello Thomas,

> The usual way of using gettext is to use the system locale to determine
> the right language. Of course, you can have different translations and
> install() them (I expect), but you'll have to re-load all the strings
> displayed in your application when you switch language, which might be
> tricky.
thank you now it works and all my string are translated. But as you said
switching languages is small problem now. I am using pygtk and I have no
idea how to re-load all strings in my app when I click on button with
another language. Any idea?

> The usual way of using gettext is to use the system locale to determine
Why is usually gettext use with system locale? I think the better way is to
leave user to select his language (or switch to another). Should I use
something else than gettext in this case? thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110729/b492a2ef/attachment.html>


More information about the Python-list mailing list