Thread View: comp.unix.programmer
2 messages
2 total messages
Started by KP
Thu, 11 Jan 2001 20:49
xgettext/msgfmt: header problems
Author: 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
Re: xgettext/msgfmt: header problems
Author: Charlie Zender
Date: Sun, 14 Jan 2001 06:34
Date: Sun, 14 Jan 2001 06:34
51 lines
2521 bytes
2521 bytes
I am new to gettext() so all I can say is I just ran into the exact same problem. The gettext() info pages, although well-intentioned, of course, are woefully inadequate. I hope someone will help us! Charlie P wrote: > 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, -- Charlie Zender zender@uci.edu (949) 824-2987/FAX-3256, Department of Earth System Science, University of California, Irvine CA 92697-3100
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads