From owner-freebsd-translators@freebsd.org Sun Mar 28 18:04:23 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 747355A9263 for ; Sun, 28 Mar 2021 18:04:23 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (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 4F7k9y3tqqz4txQ for ; Sun, 28 Mar 2021 18:04:22 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by mail-qk1-f182.google.com with SMTP id q3so10357734qkq.12 for ; Sun, 28 Mar 2021 11:04:22 -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:from:date:message-id:subject:to; bh=q66/UGvw2rzic6bCKQlPBVl9b1WpepyaWCgLg+7a3xA=; b=c+17zbFQSR1/Xl02VPUzI3Su0sb9l6taYMk0kcTzQ6N9iFqqTMeq3gL5HhAGbGSMNH f5q3Bp9kWI3o4aQqpF87vfRoUBCVBoFWTlN7KqI2hQr5d4TV6lHQqJxvA4BltmF9g8FR 2pPGCNPQpQqynaC8+PQHnjIF723D1n5rYjidEGljpSH7QXw8LC5m2+aeoJmmNHqgg9s4 NZoSqbjmRnBaeNj3frGR0ngA3KEoK+gbshP+wOvGy9bE1jR7DwQ7P8q5JqoxmLpCdv2d ouo/z+AunWjIOPWoBWmggKRAXlYLlD+3v7iv8/p1O4M1J3iIJ+sDySFhdZZupVSpF7X/ qaXg== X-Gm-Message-State: AOAM531rUOc0lP3Ve5dQ9S4sJiu3ZDDvICJO+dYIJDlwxm34htn+i3r9 3lPmTrPYDRcurT1EqgWn/YkcdPNRSCw= X-Google-Smtp-Source: ABdhPJzs3ESlGuPTZhFYJHYoJRn6Ei907AVoOFxUY5B8G444WuEMZjkmRkG/RjyrAmV+Naykk/42pA== X-Received: by 2002:a05:620a:110a:: with SMTP id o10mr22878791qkk.281.1616954661278; Sun, 28 Mar 2021 11:04:21 -0700 (PDT) Received: from mail-yb1-f176.google.com (mail-yb1-f176.google.com. [209.85.219.176]) by smtp.gmail.com with ESMTPSA id g4sm9542545qtg.86.2021.03.28.11.04.21 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 28 Mar 2021 11:04:21 -0700 (PDT) Received: by mail-yb1-f176.google.com with SMTP id l15so11489231ybm.0 for ; Sun, 28 Mar 2021 11:04:21 -0700 (PDT) X-Received: by 2002:a25:bb08:: with SMTP id z8mr31643145ybg.188.1616954660860; Sun, 28 Mar 2021 11:04:20 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= Date: Sun, 28 Mar 2021 20:01:03 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: How to test Weblate translated article To: freebsd-translators@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4F7k9y3tqqz4txQ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of fernandoapesteguia@gmail.com designates 209.85.222.182 as permitted sender) smtp.mailfrom=fernandoapesteguia@gmail.com X-Spamd-Result: default: False [-2.36 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_SHORT(-0.99)[-0.987]; FORGED_SENDER(0.30)[fernape@freebsd.org,fernandoapesteguia@gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; R_MIXED_CHARSET(0.62)[subject]; R_DKIM_NA(0.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[209.85.222.182:from]; TO_DOM_EQ_FROM_DOM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[fernape@freebsd.org,fernandoapesteguia@gmail.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-translators@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[209.85.222.182:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[209.85.222.182:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.222.182:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-translators] 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: Sun, 28 Mar 2021 18:04:23 -0000 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! From owner-freebsd-translators@freebsd.org Sun Mar 28 21:43:35 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 01F485B08C3 for ; Sun, 28 Mar 2021 21:43:35 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7q2t6mwVz3hWL; Sun, 28 Mar 2021 21:43:34 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from t480.local (unknown [177.132.127.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: dbaio/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 33A4D22165; Sun, 28 Mar 2021 21:43:34 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Date: Sun, 28 Mar 2021 18:43:29 -0300 From: "Danilo G. Baio" To: Fernando =?utf-8?Q?Apestegu=C3=ADa?= Cc: freebsd-translators@freebsd.org Subject: Re: How to test Weblate translated article Message-ID: <20210328214329.3ibfejhfmk5jiwel@t480.local> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="anbue5c32wo4odcd" Content-Disposition: inline In-Reply-To: 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: Sun, 28 Mar 2021 21:43:35 -0000 --anbue5c32wo4odcd Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 28, 2021 at 08:01:03PM +0200, Fernando Apestegu=EDa wrote: > Hi all, >=20 > 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 :-) >=20 > I read this: >=20 > https://wiki.freebsd.org/DocTranslationOnWeblate#Building_the_Translated_= Document >=20 > but it seems to me that the information is outdated or I missed > something because I can not "make tran" in any article. >=20 > How can I build test the article so I can inspect the final result? >=20 > 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=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]. Regards. 1 - https://wiki.freebsd.org/DocTranslationOnWeblate#Building_the_Translate= d_Document 2 - https://ci.fugbr.org/files/24/ 3 - https://ci.fugbr.org/files/24/documentation/es/articles/leap-seconds/ --=20 Danilo G. Baio (dbaio) --anbue5c32wo4odcd Content-Type: application/pgp-signature; name="signature.asc" -----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----- --anbue5c32wo4odcd-- 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)