🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3780

Re: xgettext/msgfmt: header problems

#3780
From: Charlie Zender
Date: Sun, 14 Jan 2001 06:34
51 lines
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
Technical Details
Message-ID: <3A614887.6020802@uci.edu>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!arclight.uoregon.edu!csulb.edu!news.service.uci.edu!not-for-mail
References: <j5Lww$AfAHA.278@asd24-aux-005.raketnet.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109f73,e75bdf0f3d74a63
X-Google-Attributes: gid109f73,public
X-Google-Thread: fc89c,e75bdf0f3d74a63
X-Google-Attributes: gidfc89c,public
X-Google-ArrivalTime: 2001-01-13 22:44:06 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!arclight.uoregon.edu!csulb.edu!news.service.uci.edu!not-for-mail
From: Charlie Zender <zender@uci.edu>
Newsgroups: comp.unix.programmer,gnu.utils.help
Subject: Re: xgettext/msgfmt: header problems
Date: Sat, 13 Jan 2001 22:34:47 -0800
Organization: University of California at Irvine
Lines: 52
Message-ID: <3A614887.6020802@uci.edu>
References: <j5Lww$AfAHA.278@asd24-aux-005.raketnet.nl>
NNTP-Posting-Host: dialin53c-22.ppp.uci.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22 i686; en-US; m18) Gecko/20001205
X-Accept-Language: en