Follow-up Comment #2, bug #27740 (project gettext):
The bug referenced below (https://savannah.gnu.org/bugs/?41406) is only
concerned with correctly parsing files using nowdoc, but not with extracting
those nowdoc strings for translation.
At least my tests with xgettext version 0.19.7 show that heredoc text is not
extracted, e.g.
<?php
echo 'Test1';
echo _('Test2');
echo _(<<<TEST
Test3
TEST
);
echo <<<TEST
_(Test4)
TEST;
?>
processed with xgettext test.php -o test.pot -L PHP only extracts Test2.
This feature (Test3) would be really useful.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27740>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/