note 85411 added to ref.gettext
| From: | analpaper{gmail} at osu1 dot php dot net | Date: | Thu, 28 Aug 2008 21:36:03 +0000 |
| Subject: | note 85411 added to ref.gettext | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-143960@lists.php.net to get a copy of this message | ||
in response to richard:
i was using the wildcard * for sometime ago without problem, until today.
i used:
<?php bindtextdomain( '*', './locale' ); ?>
but it seems to fail under some environments (i dont know why, but in diff machines with same
software the result is not always as expected)..
then, with:
<?php bindtextdomain( "*", './locale' ); ?>
all is nicely translated again.
i use single quotes always if possible, now there are another think to remember.
---
live2code
----
Server IP: 80.64.47.13
Probable Submitter: 80.174.158.17
----
Manual Page -- http://www.php.net/manual/en/ref.gettext.php
Edit -- https://master.php.net/note/edit/85411
Del: integrated -- https://master.php.net/note/delete/85411/integrated
Del: useless -- https://master.php.net/note/delete/85411/useless
Del: bad code -- https://master.php.net/note/delete/85411/bad+code
Del: spam -- https://master.php.net/note/delete/85411/spam
Del: non-english -- https://master.php.net/note/delete/85411/non-english
Del: in docs -- https://master.php.net/note/delete/85411/in+docs
Del: other reasons-- https://master.php.net/note/delete/85411
Reject -- https://master.php.net/note/reject/85411
Search -- https://master.php.net/manage/user-notes.php