Re: [PHP-GTK] gettext glade3

[email protected] (Andre Colomb) Sat, 07 Feb 2009 00:29:04 +0100
Newsgroups php.gtk.general
Message-ID <[email protected]>
Kasper Johansen wrote:
> Hi.

Hi Kasper and thanks for your response.

> I have written several applications which works perfectly with gettext
> under both Windows (XP and Vista) and Linux (Debian and Ubuntu).

Could you maybe send a working example so I can test whether I have a
path problem or something similar? A glade, PHP and PO/MO file would be
great.

> The problem can occur, if you use the non-default php-gettext-extension,
> which is a PHP-framework - not the native gettext-extension. The package
> for this is called "php-gettext" in Ubuntu, and it should not be used
> with PHP-GTK applications, because of exactly this problem.

Well I'm pretty sure I'm using the stock php_gettext.dll extension.
That's what I put in my php-cli.ini. Is there any way I can tell which
one is actually used? Debugging gettext seems to be non-trivial (even
more in PHP).

I forgot to mention, the Gtk stock items do get translated after I
copied the lib/locale/ directory from the stock win32 Gtk+ build to the
PHP-Gtk2 installation folder. Maybe a hint on the download page would be
nice for the people using the pre-built win32 binaries.

Hope to find a solution soon--this has cost me a couple of days already.

Regards, Andre
-- 
Greetings...
From: Andre Colomb <[email protected]>
signature.asc (application/pgp-signature, 260 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmMx8kACgkQZ6c/lG/u2qznlgCdEgoVueodtwAACsg9plnreS3L
ZlkAoJ71ceNoBugBS6g/1R83/8YkS6Ch
=mWFk
-----END PGP SIGNATURE-----