Date: Sun, 28 Mar 2021 18:43:29 -0300 From: "Danilo G. Baio" <dbaio@FreeBSD.org> To: Fernando =?utf-8?Q?Apestegu=C3=ADa?= <fernape@freebsd.org> Cc: freebsd-translators@freebsd.org Subject: Re: How to test Weblate translated article Message-ID: <20210328214329.3ibfejhfmk5jiwel@t480.local> In-Reply-To: <CAGwOe2bb9L0UQ9%2B7GC5odb6pBBJcC10uWGj32VMycoi-fi72Yw@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Sun, Mar 28, 2021 at 08:01:03PM +0200, Fernando Apesteguía wrote: > Hi all, > > I want to test a couple of articles that are already translated in > Weblate. None of them have a directory in es/articles yet. I can > download the .po file, but I don't know how to get from there to the > _index.adoc :-) > > I read this: > > https://wiki.freebsd.org/DocTranslationOnWeblate#Building_the_Translated_Document > > but it seems to me that the information is outdated or I missed > something because I can not "make tran" in any article. > > How can I build test the article so I can inspect the final result? > > Thanks! Hi Fernando. I've just updated the build instructions[1], thanks. Basically is this: $ git clone https://github.com/doc-br/freebsd-doc-weblate && cd freebsd-doc-weblate # for pt_BR Language $ KEEP_ENV=0 ./tools/translate.sh documentation pt_BR # or, translate only .PO files with more than 80% of translations $ ./tools/translate.sh documentation pt_BR # Necessary step only for Weblate languages that don't use the # same directory name in the project. # 'pt_BR' needs; 'es' don't; $ cp -aRfv documentation/content/pt_BR/* documentation/content/pt-br/ # This will build the 'documentation' and 'website' $ make # This will build only the 'documentation' $ make documentation The script 'tools/translate.sh' is not in the upstream yet, I'll submit it soon. For your recent work, you can check the output from Jenkins here [2] and [3]. Regards. 1 - https://wiki.freebsd.org/DocTranslationOnWeblate#Building_the_Translated_Document 2 - https://ci.fugbr.org/files/24/ 3 - https://ci.fugbr.org/files/24/documentation/es/articles/leap-seconds/ -- Danilo G. Baio (dbaio) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEORj0UTsjzCy+enIkmpN7LfMuiNcFAmBg+H1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDM5 MThGNDUxM0IyM0NDMkNCRTdBNzIyNDlBOTM3QjJERjMyRTg4RDcACgkQmpN7LfMu iNfGTQ//biOn2gAOnGbrPyhmoJT8fec4YJOy22RGRoY0HHsJ1ocwI1yoEps9CH80 IcEyxyxsplS4eTstQpbjj5is3bs9eIbDTmbKDh3H1AX5qJ0oKxQbTu36Q0k2SIvl 2WZvIkf3eFWZagWKDditxu2ZrlfJXhE8JQ0/IlhzcnWhXNwzA4XFTb0ZIhuyfU5m lZoq9L51xsZGmNzu3sOLv5FYmJkv2orXLlMkIIZOZv6SbFMX70I5BUd+A5oGotGX 6Djt/zpAyrmt66/7qXfRNMQkFBMdNF5toXTaAU9HsCRbcVPXyxoeZ3nKvVKqMwBR B1mXwPXlEzKb8vOZYbY+TcoeMToJ0juQPuF9FEuDiinDPLherToBlJUHV7tC2R92 0ZWPJPlEb44c4lgGYTVjX+Y0qAdZkNGq21hqGVYduu5Obd2jOPlMpgDfo6ouNf72 75c8iVENoYrGbeU5uUKwupQzGvsAolJ7A39JyzDEs2f8eE1EGJUtlsTPIDGIX3TE qeuobVBZ1MBKjpYYqrTfdVeB7Julgg0YvGyWIk0MkWQhGcU+gsl0N9cmt7+SJ8ZW ucLnMgr9USH/Px1kfGH4uk/yOn3eUzloe+oZE88jIowJeHkXydKME9qZXTF2kMpk bFkbCvVJOeMb26hH/8ATUlPj3TtOTEghwYdbimE/izmgtEyPXkw= =eZMS -----END PGP SIGNATURE-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210328214329.3ibfejhfmk5jiwel>
