Re: Problems with translating gedit help
- From: Shaun McCance <shaunm gnome org>
- To: Alexander Shopov (Александър Шопов) <lists kambanaria org>
- Cc: gnome-doc-list gnome org
- Subject: Re: Problems with translating gedit help
- Date: Fri, 16 Mar 2012 08:04:37 -0400
On Fri, 2012-03-16 at 07:32 +0200, Alexander Shopov (Александър Шопов)
wrote:
> I have difficulties when updating the Bulgarian Gedit Help translation.
>
> Here are my basic steps:
> 1. cd gedit/help/bg/
> 2. git reset --hard; git pull --rebase
> 3. xml2po ../C/*page > pot.new
> 4. msgmerge bg.po pot.new > new.po
> 5. msgfmt -cvv bg.po
> bg.po: 772 translated messages.
> 6. msgfmt -cvv new.po
> new.po: 772 translated messages.
> Basically our team has translated everything.
>
> However when I compile the new gedit - lots of the generated Bulgarian
> page files contain untranslated strings. Additionally - the generated
> files are quite different to what I get when I manually do:
> for i in ../C/*page; do xml2po -p bg.po ../C/gedit-plugins-tag-list.page
> > translated/`basename $i`; done
>
> Additionally http://l10n.gnome.org/vertimus/gedit/master/help/bg
> documentation translation statistics shows many untranslated strings.
>
> What am I doing wrong?
gedit is one of the modules using the new documentation build tools.
That means it uses itstool, not xml2po. Some strings are handled
differently in itstool, so if you use an itstool po file (which is
what you get from DL) and merge back with xml2po, you'll only get
some of the strings merged.
What you want to do:
msgfmt -o bg.mo bg.po && itstool -m bg.mo ../C/*.page
--
Shaun
- References:
- Problems with translating gedit help
- From: Alexander Shopov =?UTF-8?Q?=28=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=8A?= =?UTF-8?Q?=D1=80_?= =?UTF-8?Q?=D0=A8=D0=BE=D0=BF=D0=BE=D0=B2=29?=
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]