Re: problem with xgettext and php with javascript file
| From: | Pavel Nov�k | Date: | Fri, 16 Nov 2001 12:52:57 +0000 |
| Subject: | Re: problem with xgettext and php with javascript file | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74862@lists.php.net to get a copy of this message | ||
ou, it's so stupid mistakes, thanks, but this doesn't work too.
xgettext doesn't get any error message, but it doesn't create the file
messages.po...
rather again:
When I use this: xgettext --keyword=_ file.php
on this file:
---------------------------------------------------
<script language="JavaScript">
<!--
function zmen_cenu() {
window.opener.document.celkem.cena_celkem.value = "<? echo _("some text");
?>";
}
// -->
</script>
---------------------------------------------------
I get no error message but it doesn't create the file messages.po
when I use the same on this file:
---------------------------------------------------
<?$str = _("some text");?>
<script language="JavaScript">
<!--
function zmen_cenu() {
window.opener.document.celkem.cena_celkem.value = "<?= $str?>";
}
// -->
</script>
---------------------------------------------------
it creates the file messages.po...