bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gettext + PHP


From: Jonas Koch Bentzen
Subject: gettext + PHP
Date: Sun, 23 Jun 2002 11:44:43 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

When using xgettext to extract strings from a PHP file, strings inside the "gettext()" PHP function are extracted, but strings inside the "_()" function aren't. They should be, because "_()" is an alias to "gettext()".

Right now, xgettext extracts the string in the following example:

<?php
gettext("This is a string");
?>

But it should also be able to extract the string in the following example:

<?php
_("This is a string");
?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]