Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-09-2004, 09:28 AM   #1
LQ Newbie
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
xgettext error php language uknown


I am using gettext to translate a PHP site. I am using the following script:

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 
but the first line of code generates a weird error message:

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
char malloc + uknown characters alaios Programming 3 09-08-2005 10:40 AM
PHP Language Johina Linux - Software 1 03-28-2005 05:58 AM
Looking to learn PHP as a first language, Need sources dns21 Programming 6 12-19-2004 11:03 PM
need some advice on language choice(Perl vs PHP) coolman0stress Programming 8 11-17-2003 04:41 AM
PHP and is it a viable language to learn dos1 Programming 2 05-22-2003 12:12 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration