Committing in Weblate and sending po

Danilo G. Baio dbaio at FreeBSD.org
Mon Apr 5 15:09:07 UTC 2021


On Mon, Apr 05, 2021 at 04:35:29PM +0200, Fernando Apesteguía 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.

Regards.

https://reviews.freebsd.org/D29569
https://reviews.freebsd.org/D29573
-- 
Danilo G. Baio (dbaio)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-translators/attachments/20210405/13c41e9b/attachment.sig>


More information about the freebsd-translators mailing list