xgettext output to specific folder

Posted by John on Ask Ubuntu See other posts from Ask Ubuntu or by John
Published on 2013-11-04T15:33:50Z Indexed on 2013/11/04 16:12 UTC
Read the original article Hit count: 238

Filed under:

I am new using xgettext command So I don't know what am I doing wrong.

I put the command xgettext -n *.php -o --output='/home/public/sample' in my script but I get an error: xgettext: cannot create output file "--output=/home/public/sample": No such file or directory

But when I run xgettext -n *.php - messages.po file gets created in my current directory! Is there a way to specify the location where to create messages.po file?

© Ask Ubuntu or respective owner

Related posts about gettext