Date: Mon, 29 Mar 2021 12:19:09 +0200 From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernape@freebsd.org> To: "Danilo G. Baio" <dbaio@freebsd.org> Cc: freebsd-translators@freebsd.org Subject: Re: How to test Weblate translated article Message-ID: <CAGwOe2bkJ4kG2GUKkj2_Gv8L1zpz57E7kWHSf8Lp3aGQxm6byg@mail.gmail.com> In-Reply-To: <20210328214329.3ibfejhfmk5jiwel@t480.local> References: <CAGwOe2bb9L0UQ9%2B7GC5odb6pBBJcC10uWGj32VMycoi-fi72Yw@mail.gmail.com> <20210328214329.3ibfejhfmk5jiwel@t480.local>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 28, 2021 at 11:43 PM Danilo G. Baio <dbaio@freebsd.org> wrote: > > On Sun, Mar 28, 2021 at 08:01:03PM +0200, Fernando Apestegu=C3=ADa 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_Translate= d_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-d= oc-weblate > > # for pt_BR Language > $ KEEP_ENV=3D0 ./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]. > Thanks! > Regards. > > 1 - https://wiki.freebsd.org/DocTranslationOnWeblate#Building_the_Transla= ted_Document > 2 - https://ci.fugbr.org/files/24/ > 3 - https://ci.fugbr.org/files/24/documentation/es/articles/leap-seconds/ > > -- > Danilo G. Baio (dbaio)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2bkJ4kG2GUKkj2_Gv8L1zpz57E7kWHSf8Lp3aGQxm6byg>