Re: Fwd: [pygtk] gettext and Glade with win32

2005-06-11 Thread Gustavo J. A. M. Carneiro
On Fri, 2005-06-10 at 01:55 +0300, Nikos Kouremenos wrote: > I FWD so others who follow will know the anwer ;) > Thanks Vincent > > -- Forwarded message -- > From: Vincent Bernat <[EMAIL PROTECTED]> > Date: Jun 10, 2005 12:01 AM > Subject: Re: [pygtk] g

Re: [pygtk] gettext and Glade with win32

2005-06-10 Thread Vincent Bernat
OoO En ce doux début de matinée du vendredi 10 juin 2005, vers 08:30, Cedric Gustin <[EMAIL PROTECTED]> disait: > About the HAVE_BIND_TEXTDOMAIN_CODESET macro not defined on win32, I > fixed the setup.py script in CVS HEAD and in the pygtk-2-6 branch. > I also updated the binaries on my page. Pl

Re: [pygtk] gettext and Glade with win32

2005-06-09 Thread Cedric Gustin
Vincent Bernat wrote: >>| #ifdef HAVE_BIND_TEXTDOMAIN_CODESET >>| bind_textdomain_codeset(domainname, "UTF-8"); >>| #endif > > [...] > > Removing the condition solves the problem. Compiling pygtk from source > is not as difficult as stated in : > http://www.pcpm.ucl.ac.be/~gustin/win32_po

Fwd: [pygtk] gettext and Glade with win32

2005-06-09 Thread Nikos Kouremenos
I FWD so others who follow will know the anwer ;) Thanks Vincent -- Forwarded message -- From: Vincent Bernat <[EMAIL PROTECTED]> Date: Jun 10, 2005 12:01 AM Subject: Re: [pygtk] gettext and Glade with win32 To: Nikos Kouremenos <[EMAIL PROTECTED]> Cc: pygtk@daa.co

Re: [pygtk] gettext and Glade with win32

2005-06-09 Thread Vincent Bernat
OoO Pendant le repas du jeudi 09 juin 2005, vers 19:35, Nikos Kouremenos <[EMAIL PROTECTED]> disait: > And also let me ask you something. > u do gettext.install() in foo.py > and you can use it in bar.py just iwth _() ? I use gettext.install() in foo.py, but then, I import _ in bar (fr

Re: [pygtk] gettext and Glade with win32

2005-06-09 Thread Nikos Kouremenos
On 6/9/05, Vincent Bernat <[EMAIL PROTECTED]> wrote: > >> , > >> | import gtk.glade > >> | import gettext > >> | gettext.bindtextdomain (APP, DIR) > >> | gettext.textdomain(APP) > >> | gettext.install(APP, DIR, unicode=1) > >> | > >> | gtk.glade.bindtextdomain (APP, DIR) > >> | gtk.glade.textdo

Re: [pygtk] gettext and Glade with win32

2005-06-09 Thread Vincent Bernat
Hi again ! ;-) OoO En cette matinée pluvieuse du jeudi 09 juin 2005, vers 10:27, Vincent Bernat <[EMAIL PROTECTED]> disait: >> , >> | import gtk.glade >> | import gettext >> | gettext.bindtextdomain (APP, DIR) >> | gettext.textdomain(APP) >> | gettext.install(APP, DIR, unicode=1) >>

Re: [pygtk] gettext and Glade with win32

2005-06-09 Thread Vincent Bernat
OoO En cette matinée pluvieuse du mercredi 08 juin 2005, vers 10:00, Vincent Bernat <[EMAIL PROTECTED]> disait: > I am using this piece of code in a program : > , > | import gtk.glade > | import gettext > | gettext.bindtextdomain (APP, DIR) > | gettext.textdomain(APP) > | gettext.install(AP

[pygtk] gettext and Glade with win32

2005-06-08 Thread Vincent Bernat
Hello ! I am using this piece of code in a program : , | import gtk.glade | import gettext | gettext.bindtextdomain (APP, DIR) | gettext.textdomain(APP) | gettext.install(APP, DIR, unicode=1) | | gtk.glade.bindtextdomain (APP, DIR) | gtk.glade.textdomain (APP) ` My first problem is th

[pygtk] gettext and glade

2000-07-18 Thread Mattias Nilsson
Hi. Is there a way to use gettext with libglade (glade) without fetching every "object" that needs to be translated? If I do as in the code below there will be a lot of labels and stuff to fetch, (but I'm probably just lazy) one could hope for a more "magic" way to do it... (I have figured out