[pygtk] Gettext & Gtk

Timo timomlists at gmail.com
Thu Jan 31 19:40:58 WST 2013


Op 31-01-13 09:07, tugba deniz schreef:
>
>
> 2013/1/31 tugba deniz <deniz.tugba92 at gmail.com 
> <mailto:deniz.tugba92 at gmail.com>>
>
>     Hi, i used gettext for language support. I created messages.py for
>     messages. messages.py like this
>     bindtextdomain("messages", :path => "locale")
>     GetText.set_locale(choice)
>     FILE = _("File")
>     .....
>
>     First choice is "en". After user want to change choice and choice
>     is "de". But window don't show changes of language. Why? How can i
>     set it?
>
> And also again i use window.show_all for refresh. But it didn't change :(

Maybe you should show us a minimal working exaple. The above code 
snippet isn't even correct Python. :path =>? What is choice? What is 
GetText?

Timo

>
>
>
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/



More information about the pygtk mailing list