Article View: comp.unix.programmer
Article #3779xgettext/msgfmt: header problems
From: KP
Date: Thu, 11 Jan 2001 20:49
Date: Thu, 11 Jan 2001 20:49
39 lines
1979 bytes
1979 bytes
Hello all, On my first steps trying to NLSify a Perl program I am running into problems. After running xgettext to extract the gettext() string sequences, msgfmt bails out reporting an invalid header: bash-2.03$ msgfmt -v test.po test.po: warning: no header entry found found 1 fatal errors The first few lines of test.po are: # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Free Software Foundation, Inc. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2000-12-28 22:10+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: ENCODING\n" Are these lines the header? I have thoroughly checked the info pages on gettext, xgettext and msgfmt but I was unable to locate anything wrt a header entry. Oh, running SuSE 6.3 with gettext utilities version 0.10.35 Any help appreciated. Cheers, -- KP koos_pol@raketnet.nl
Technical Details
Message-ID:
<j5Lww$AfAHA.278@asd24-aux-005.raketnet.nl>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!hub.org!hub.org!newsfeed.direct.ca!look.ca!newsfeed.cwix.com!news-feed1.eu.concert.net!news.raketnet.nlShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109f73,e75bdf0f3d74a63,start X-Google-Attributes: gid109f73,public X-Google-Thread: fc89c,e75bdf0f3d74a63,start X-Google-Attributes: gidfc89c,public X-Google-ArrivalTime: 2001-01-11 12:57:47 PST From: KP <koos_pol@raketnet.nl> Subject: xgettext/msgfmt: header problems Date: Thu, 11 Jan 2001 21:49:36 +0100 Lines: 40 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8Bit User-Agent: KNode/0.3.3 Message-ID: <j5Lww$AfAHA.278@asd24-aux-005.raketnet.nl> Newsgroups: comp.unix.programmer,gnu.utils.help Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!hub.org!hub.org!newsfeed.direct.ca!look.ca!newsfeed.cwix.com!news-feed1.eu.concert.net!news.raketnet.nl NNTP-Posting-Host: 213-194-5-218.dialup.raketnet.nl 213.194.5.218