[pygtk] How to get the gtk stock button label translated?
F Wolff
friedel at translate.org.za
Wed Feb 6 13:41:23 WST 2013
On Tue, Jan 22, 2013 at 6:28 AM, 卢亚德 <ydlu1987 at 163.com> wrote:
> I used self.btnNew = gtk.MenuToolButton (gtk.STOCK_ADD) to get a
> menutoolbutton. But the label of this menu button didn't get translated. It
> always displays ad 'Add' in the user interface. I got the information that
> the translation is pre-built in the Pygtk. But How I can get it translated?
The translation of stock items are done as part of GTK, so you can't
do that yourself, as far as I know. Luckily GTK is translated into
many languages already.
Keep well
Friedel
More information about the pygtk
mailing list