monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Creating updated monotone.pot


From: Nathaniel Smith
Subject: Re: [Monotone-devel] Creating updated monotone.pot
Date: Wed, 5 Apr 2006 00:07:09 -0700
User-agent: Mutt/1.5.11

On Wed, Apr 05, 2006 at 07:52:31AM +0200, Thomas Keller wrote:
> $ xgettext --default-domain=monotone --directory=..   --add-comments
> --keyword=_ --keyword=N_   --files-from=./POTFILES.in
> --output=monotone.pot
> xgettext: warning: file `std_hooks.lua' extension `lua' is unknown; will
> try C
> 
> The created file (monotone.pot) is only about 17KB big, while the one
> which is created during a regular configure && make from a source
> package is over 60KB big. On msgmerge many strings are commented out, so
> I'm kind of clueless here.

I'm totally not an expert on this translation stuff, hopefully someone
else will reply to give you more pointers, but what I _can_ say is:
  -- you need some more arguments to xgettext; these are listed in the
     XGETTEXT_OPTIONS definition in po/Makevars.  We use some weird
     keywords.
  -- there's some sort of 'make' command to generate a .pot file, but
     I don't know what it is
  -- you may want to use 'intltool'; I know at least one other of our
     translators does, and it is smart enough to figure out about the
     XGETTEXT_OPTIONS thing automatically.  I don't actually know
     anything about how to use it effectively myself, though.

Perhaps as you figure things out, you could write a little list of the
things you figure out, that we could put in the repository to help the
next new person out?  (Sort of like tests/README gives basic hints on
writing tests, etc.)

-- Nathaniel

-- 
The Universe may  /  Be as large as they say
But it wouldn't be missed  /  If it didn't exist.
  -- Piet Hein




reply via email to

[Prev in Thread] Current Thread [Next in Thread]