Hi.
I am using gettext to translate a PHP site. I am using the following script:
Code:
#!/bin/sh
xgettext --keyword=A_ --keyword=T_ --language=PHP -o transstuff.pot ../*.php
if [ -f $1.po ]; then
msgmerge -o .tmp$1.po $1.po transstuff.pot
mv .tmp$1.po $1.po
msgfmt --statistics $1.po
fi
but the first line of code generates a weird error message:
Code:
xgettext: language `PHP' unknown
Now, my PHP 5.0.1 is compiled with gettext and I am using gettext 0.11.4. How can it not recognize PHP as a valid language?
Please let me know if you have any ideas what I could do about this.
All best,
Dr. Psych