Not sure if this is right place for this, but anyways:
Wouldn't it be nice to have a configure flag for turning on/off the function alias _() for the gettext() function, or maybe even a php.ini setting if that's possible.
If this feature existed it would be possible to create your own _() function which could do things in addition to calling gettext().
Example:
function _($string) {
$ret = gettext($string);
if ($ret == $string) {
/***
... notify of missing msgid in .mo/.po file ...
***/
}
return $ret;
}This however would be slower than using the alias _() directly, but it would be _VERY_ nice to have for debugging and development purposes.
-- Bj�rn Tore Hagen Programmer
-- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
