Re: Re: how to get php_gettext.dll work on windows2000 / iis5 server?
| From: | Zak Greant | Date: | Wed, 14 Nov 2001 15:01:54 +0000 |
| Subject: | Re: Re: how to get php_gettext.dll work on windows2000 / iis5 server? | ||
| References: | 1 2 3 | Groups: | php.general php.i18n php.windows |
| Request: | Send a blank email to php-general+get-74606@lists.php.net to get a copy of this message | ||
On November 14, 2001 08:07 am, Hace wrote:
> On Wed, 14 Nov 2001 11:47:35 +0000, phil@dialsolutions.co.uk (Phil
>
> Driscoll) wrote:
> >> Does anybody have any suggestions for me to get the 'gettext'
> >> function to work?
> >
> >You have to put the extensions dlls in the directory you set
> > extension_dir to in php.ini.
>
> I did that already.
>
> I have now found out that the gnu_gettext.dll was needed as well: so
> the call to the gettext function now works.
>
> However: Can someone explain to me how to create *.po files in
> windows? I have tried poEdit, with which I can create a *.po file,
> but I'm not sure how to add entries..
> I can add entries to the *.po file using a simple text-editor like
> notepad though. However: how should gettext be able to 'know' where
> the *.po file is resided?
>
> Anybody got any hints? (the gnu-gettext documentation seems to be
> very unix based....)
Drop by http://www.php-er.com and take a look at the chapter on
gettext.
I have written a complete overview of using gettext with PHP. It is
also Unix-centric, but it is easier to understand than the gettext
docs. : )
--
Zak Greant
PHP Quality Assurance Team
http://qa.php.net/
"We must be the change we wish to see." - M. K. Ghandi