note 74902 rejected from ref.gettext by tularis
| From: | tularis@php.net | Date: | Thu, 03 May 2007 12:59:14 +0000 |
| Subject: | note 74902 rejected from ref.gettext by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-126142@lists.php.net to get a copy of this message | ||
Note Submitter: sujithfem at gmail dot com
----
i used the following code but i can't get the translated text please let me know the exact
code
<?php
$language = "nl_NL";
putenv("LANGUAGE=$language");
putenv("LANG=$language");
setlocale(LC_ALL, $language);
bindtextdomain('website', 'locale/');
bind_textdomain_codeset('website', 'utf-8');
textdomain('website');
echo gettext(""The fear of the Lord is the beginning of wisdom"");