Re: Problems with GetText
| From: | Max_B | Date: | Mon, 13 Aug 2007 14:09:50 +0000 |
| Subject: | Re: Problems with GetText | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-1109@lists.php.net to get a copy of this message | ||
Daniel Carrera-2 wrote:
>
> <?php
> setlocale(LC_ALL, 'es');
> bindtextdomain('messages', '/home/theingot/public_html/locale');
> textdomain('messages');
> echo "English: About us<br/>";
> echo "Spanish: "._('About us');
> echo "<hr/>";
> phpinfo()
> ?>
>
Here is a link to
http://coderie.ac-mb.info/english.php?article=phppoll#i18n
a page I wrote a
while ago , where there are a few hints about locale.
--
View this message in context: http://www.nabble.com/Problems-with-GetText-tf4260519.html#a12126933
Sent from the Php - Internationalization (i18n) mailing list archive at Nabble.com.