On Sun, 2008-01-06 at 13:33 +0100, Levente wrote:
> On Mon, 24 Dec 2007 03:29:44 +0000
> Peter TB Brett <[EMAIL PROTECTED]> wrote:
> 
> > Hi folks,
> > 
> > I'm currently testing a pair of patches which add gettext translation to 
> > libgeda for the many log & error messages it generates.
> 
> Could you please describe how to add a new language? I might write a Humgarian
> translation, if needed.

Checkout the sources (git clone git://git.gpleda.org/gaf.git)

cd gaf
make reconfig config   (or have built / installed the sources recently)

cd libgeda/po
make libgeda32.pot     (32 comes from the current SO version of libgeda)

(This should give you a libgeda-32.pot)

cp libgeda32.pot hu_HU.po
poedit hu_HU.po

edit the LINGUAS file, adding a line for the translation (hu_HU)


Similar steps are needed for gschem and gattrib (which has a couple of
trivial translations for its menu entries).

The pot files will be obtained with:

make geda-gschem.pot
make geda-gattrib.pot

respectively.

If possible please use UTF-8 encoding for the .po files. It doesn't
really matter (as gettext converts encodings), however more people have
a better chance of displaying the files in UTF-8.


If you wanted to do xgsch2pcb, the repository is here:

git clone git://git.gpleda.org/xgsch2pcb.git

Note that the string "translator-credit" is a placeholder for your name
if you come across it. (It is used in xgsch2pcb for listing Translators
in the about box).


With both of these cases, either send the output of "git diff" to us, or
commit it as a patch in your local checkout of the repository, and use:

git-format-patch origin/master

(git-format-patch origin for an old style repository layout)

And send us the resulting patch file.



Thanks for for the help with translations!

Best wishes,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to