|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-05-18 07:00 UTC] mfischer@php.net
[2002-05-18 09:54 UTC] jsakalos at bigfoot dot com
[2002-05-18 09:55 UTC] mfischer@php.net
[2002-05-24 14:54 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 13 21:00:02 2025 UTC |
I use SuSE Linux 7.3 distribution but I compiled PHP 4.2.0 from source as an apache module --with-apxs and --with-gettext=/usr I also compiled gettext 0.11.2 from source. I tried also --with-included-gettext in vain. When I use gettext from command line, it works: env LANG=sk_SK gettext -sd bsis "This I want to translate" Toto chcem prelozit or, when my locale is not in /usr/share/locale env LANG=sk_SK TEXTDOMAINDIR=/web/bsis/locale gettext .... The PHP script I use is: putenv("LANG=sk_SK"); bindtextdomain("bsis", "./locale"); textdomain("bsis"); echo _("This I want to translate"); Running this script I always get only the english text.