From owner-freebsd-translators@freebsd.org Mon Mar 29 10:22:31 2021 Return-Path: Delivered-To: freebsd-translators@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1E9605C3F31 for ; Mon, 29 Mar 2021 10:22:31 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-qk1-f179.google.com (mail-qk1-f179.google.com [209.85.222.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F87tb09x2z3DWs; Mon, 29 Mar 2021 10:22:30 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-qk1-f179.google.com with SMTP id q3so11818986qkq.12; Mon, 29 Mar 2021 03:22:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Zd46NXPEoDW3q9ltW3YXx2yzClNXeBA9fuIr8gSFAXs=; b=lWvs38O/DZilmdijL+EU6VL6O3ArvpBCWwcBltgMGw+Ks2MF4DVwrs/8m+fG+7OJvp h24+Q7ow+5ZwKX7cDthBLpvlK5rNeFfOJVb7/3ZDnLwafnKyeVYSsxo72620Uvlq5N3y S3X3pZxstjzQfmJLCFopSPSDv4z345aLqbOF90QJW4uDOgNRbD4dk3PS1+cGwwJE7Zou j1rW10NgQESoexoRA01jbszVTD0HVaoZBilniILJPD6JotE+qikHm8RGV+0AXcnM38l4 x5crt1lrZXXodQMecCWAOeuRF5a+weYvbCOY2MxK2wbsgh1sPsv7wYcPjQeDvFf2SvJ5 v4GA== X-Gm-Message-State: AOAM5308UMgJYwVsStehKOt/iaxgLZuhdwj2n/aTDZ1NQULypq9Prljl GSrMfkpRMRP7wxjCWTY1LuSatTcZ6LA= X-Google-Smtp-Source: ABdhPJyi1/Ah9Ztd1+/woUGjvvYEuOVmhBBATKEmA8E7veKagMk/vX+9lrxx9XeYHybtNDupxysMkg== X-Received: by 2002:a37:4017:: with SMTP id n23mr23150762qka.338.1617013350018; Mon, 29 Mar 2021 03:22:30 -0700 (PDT) Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com. [209.85.219.169]) by smtp.gmail.com with ESMTPSA id q15sm10478337qtx.47.2021.03.29.03.22.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Mar 2021 03:22:29 -0700 (PDT) Received: by mail-yb1-f169.google.com with SMTP id x189so13230437ybg.5; Mon, 29 Mar 2021 03:22:29 -0700 (PDT) X-Received: by 2002:a25:3:: with SMTP id 3mr27167799yba.418.1617013349553; Mon, 29 Mar 2021 03:22:29 -0700 (PDT) MIME-Version: 1.0 References: <20210328214329.3ibfejhfmk5jiwel@t480.local> In-Reply-To: <20210328214329.3ibfejhfmk5jiwel@t480.local> From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Mon, 29 Mar 2021 12:19:09 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How to test Weblate translated article To: "Danilo G. Baio" Cc: freebsd-translators@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4F87tb09x2z3DWs X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_FROM(0.00)[]; REPLY(-4.00)[] X-BeenThere: freebsd-translators@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Translators List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2021 10:22:31 -0000 On Sun, Mar 28, 2021 at 11:43 PM Danilo G. Baio 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)