From: "Zachary P. Landau" Date: 2004-03-20T17:50:49+09:00 Subject: Re: Libglade and Translatable Strings --OwLcNYc0lM97+oe1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 18, 2004 at 03:51:35PM +0900, Zachary P. Landau wrote: > > I've been trying to figure out how to do this and I just keep going in > > circles. When writing out a glade xml file using 'glade-2' it marks the > > labels with translatable=3D"yes". When using the .glade file to genera= te > > actual code (for example, to C) there are tools to create the necessary > > translation files and whatnot. I am curious if libglade has the ability > > to load translation files as it dynamically creates the GUI, though. > > As I said, I'm just going in circles trying to figure out how to do > > this. I'm hoping someone else has already gone through this. Google > > doesn't seem to want to help me. >=20 > Posting to ruby-talk must in itself be some kind of cure for coder's > block. After a few more hours of playing around with this and googling, > I've figured it out. If anyone is interested, I'm probably going to put > a page up on the ruby wiki with how to do some of this stuff. Continuing the conversation with myself, I'll add this for completeness. A couple of people have emailed me expressing interest in this, so I went ahead and wrote a mini tutorial. The initial version is up [1] if anyone is interested. [1] http://ruby-gnome2.sourceforge.jp/hiki.cgi?tips_libglade_i18n -- Zachary P. Landau GPG: gpg --recv-key 0x24E5AD99 | http://kapheine.hypa.net/kapheine.asc --OwLcNYc0lM97+oe1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAXAUgCwWyMCTlrZkRArQAAJ4mt37Hni38hQciifPCIe/mYDvBMwCdFytM IVLR2uDFqvTyUY8Nq8+Pg4s= =X48T -----END PGP SIGNATURE----- --OwLcNYc0lM97+oe1--