Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Apr 2021 18:15:03 +0200
From:      =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com>
To:        "Danilo G. Baio" <dbaio@freebsd.org>
Cc:        freebsd-translators@freebsd.org
Subject:   Re: Committing in Weblate and sending po
Message-ID:  <CAGwOe2ZpdEi7DK5TEn%2B%2Bi8dP_qX9VukN7cHC5w5GxOQ=p%2BDsNg@mail.gmail.com>
In-Reply-To: <20210405150903.cbl6dkp72n2p7usi@t480.local>
References:  <CAGwOe2ZUMJpsnLJC3it9SSYfsxwD2Vjo_3%2BC4D1_nrJB-ZUnng@mail.gmail.com> <20210405150903.cbl6dkp72n2p7usi@t480.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 5, 2021 at 5:09 PM Danilo G. Baio <dbaio@freebsd.org> wrote:
>
> On Mon, Apr 05, 2021 at 04:35:29PM +0200, Fernando Apestegu=C3=ADa wrote:
> > Hi!
> >
> > It's me again, sorry ;-)
> >
> > Reading the doc in https://wiki.freebsd.org/DocTranslationOnWeblate,
> > it looks like I should have a "Manage" tab in weblate so I can commit
> > a change and that would trigger a CI build. But I don't see that tab.
> > I am not in a hurry, I can wait for the daily build run. But just in
> > case there is something that I am missing.
>
> hum, I'll look into this.
>
> >
> > The other thing is that in the wiki we point to this document on how
> > to submit translations:
> >
> > https://docs.freebsd.org/en/books/fdp-primer/po-translations-submitting=
.html
> >
> > It looks outdated and also I could not find any .po files in the docs
> > repository. So I wonder if there is a different method to add a new
> > translation to the repository. I assume I should create a new
> > directory in documentation/content/es/articles/ and put the
> > _index.adoc there. But how do I generate the _index.adoc from the .po
> > I can download from weblate?
>
> PO files were removed with the migration.
>
> I've opened two reviews.
>
> The first [1] adds helper scripts for generating/update PO files and to
> also translate documents with them. Is what we are using in our CI.
>
> The second [2] fix some outdated/wrong entries in the FDP.  It's not a
> rewrite, but we will need that for chapters 'Translations' and 'PO
> Translations' at least.
>
> On [2] you will find the commands necessary to translate PO files to
> .adoc.
>
> Use the latest po4a-0.63_1, there is a patch on it to work with our
> documentation set.

Excellent. I'll have a look at this.

Thanks!

>
> Regards.
>
> https://reviews.freebsd.org/D29569
> https://reviews.freebsd.org/D29573
> --
> Danilo G. Baio (dbaio)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2ZpdEi7DK5TEn%2B%2Bi8dP_qX9VukN7cHC5w5GxOQ=p%2BDsNg>