Internationalize a Tkinter application

Kevin Walzer kw at codebykevin.com
Thu Sep 20 13:54:59 EDT 2007


I'm investigating the possibility of internationalizing a Tkinter 
application that I develop. Tcl/Tk provides facilities for 
internationalizing applications via its msgcat package, documented in 
"how-to" fashion below:

http://www.tcl.tk/doc/howto/i18n.html

As far as I can tell, Tkinter does not wrap the msgcat library. Instead 
I've found the gettext module in the Python standard library. Is this 
the preferred package for implementing localized strings in a Tkinter 
application, or am I missing something?

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com



More information about the Python-list mailing list