help with creating a .pot file to a plugin i've created (1 post)

  1. asafche
    Posted 6 years ago #

    i've built a plugin, with I18n translatable strings.
    now i needed to prase a ,pot file from the .php file. I thought it will be simple for me, but for some reason it is not.

    i'm working on ubuntu 8.10, and tried using xgettext to compile the pot file.

    my plugin directory is on the Desktop so it is: /home/kayma/Desktop/xxx
    i've opened a terminal and did:

    $ xgettext -L PHP -f /home/kayma/Desktop/xxx/xxx.php -o --keyword=_e --keyword=__ xxx.pot

    i got this message: xgettext: error while opening "<?php" for reading: No such file or directory

    I'll appreciate any help.
    thanks, asaf.

Topic Closed

This topic has been closed to new replies.

About this Topic