Re: How to do i18n better?
| From: | Per Jessen | Date: | Mon, 19 Apr 2010 10:55:03 +0000 |
| Subject: | Re: How to do i18n better? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304203@lists.php.net to get a copy of this message | ||
Andre Polykanine wrote:
> etc. I know that PHP does support somehow exporting the strings into a
> .pod file. Maybe it would be better to do that? If so, how can I do
> it?
> Could you suggest me maybe a better solution than we currently have?
For mostly dynamic messages or pages, I would take a look at the
gettext() mechanism:
http://php.net/manual/en/book.gettext.php
--
Per Jessen, Zürich (14.9°C)