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?