Ruben Rubio Rey wrote:
> Hi,
>
> I am using gettext to get a web page in several languages.
>
> When gettext does not found an string, it shows the string.
>
> Is it possible to detect when a string is not found, in order to advis me ?
sure in a very simplistic manner;
function __($s)
{
$r = _($s);
if ($r === $s) logUntranslatedStr($s);
return $r;
}
but the php gettext extension does not seem to provide such a functionality
natively.
>
> Thanks in advance,
> Ruben Rubio Rey
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php