I use PoEdit. It scans all .php files, find each time I use gettext() or _(), and update the .po and .mo files.
I have a .php file that has html tags and php in it, like this :
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<?php
$message = _("blabla");
?>
Here POEdit does not see "blabla" and so it is not added in the .po file.
Is there a way to make PoEdit scan this portion of php ?