From owner-freebsd-doc@freebsd.org Sat Sep 8 19:18:31 2018 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29953FFB54E for ; Sat, 8 Sep 2018 19:18:31 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A01B97515E for ; Sat, 8 Sep 2018 19:18:30 +0000 (UTC) (envelope-from mad@madpilot.net) Received: by mailman.ysv.freebsd.org (Postfix) id 63AE0FFB54C; Sat, 8 Sep 2018 19:18:30 +0000 (UTC) Delivered-To: doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41E9EFFB54B for ; Sat, 8 Sep 2018 19:18:30 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C78337515B; Sat, 8 Sep 2018 19:18:29 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 4273xc5vF3z6dc5; Sat, 8 Sep 2018 21:18:28 +0200 (CEST) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id oRjIqpfPRts5; Sat, 8 Sep 2018 21:18:26 +0200 (CEST) Received: from tommy.madpilot.net (host145-124-dynamic.19-79-r.retail.telecomitalia.it [79.19.124.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.madpilot.net (Postfix) with ESMTPSA; Sat, 8 Sep 2018 21:18:26 +0200 (CEST) Subject: Re: Help with generating the translated handbook correctly To: "Danilo G. Baio" Cc: doc@FreeBSD.org References: <7bd73f84-86e7-4695-5a0e-4a6bb0801e16@madpilot.net> <20180908174613.fid3unq2acbaa2nh@dx240.localdomain> From: Guido Falsi Openpgp: preference=signencrypt Autocrypt: addr=mad@madpilot.net; prefer-encrypt=mutual; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl c0W5Z1p5cmDF9l8L/hc959AeyNf7I9dXnjekGM9gVv7UDUYzCifR3U8T0fnfdMmS8NeI9NC+ wuREpRO4lKOkTnj9TtQJRiptlhcHQiAlG1cFqs7EQo57Tqq6cxD1FycZJLuC32bGbgalABEB AAHNHkd1aWRvIEZhbHNpIDxtYWRAbWFkcGlsb3QubmV0PsLAeQQTAQgAIwIbAwIeAQIXgAUL CQgHAwUVCgkICwQWAgMBBQJS79AgAhkBAAoJEBrmhg5Wy9KTc0kH/RO64ORBlTbTHaUaOj8F Je5O5NU2Pt9Cyt5ZWBRvxntr1zPTJGKRPS9ihlIfqT4ZvEngQGp57EUyFbCpI0UWasTerImM tt5WACnGmCzUTB39UXx8Oy4b1EgWeTJQ747e/F1mQLXTNa6ijRBE9fYlTb4gAkPN88/wVV9v 3PZozKLTg16ghBzHM/P7Lk8L7clPEZChX1FTa/6eSt3nvzfCuTMZbBPJF/ph+q1KyPqRgVfh tyhu5dvgMoPz/ni41IfeSrkJTD5RXzdyGR9q4Z1NYeBsLkRjC4LxKAP5KqUsvlOUjKvO1byj ApYdMarol+IGkaSk9e3zVY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T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== Message-ID: <9e9d90ce-96aa-10e8-1e6f-50c82e63d492@madpilot.net> Date: Sat, 8 Sep 2018 21:18:14 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180908174613.fid3unq2acbaa2nh@dx240.localdomain> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GY3gEneW8SAT29cAF4AWSJjSyGekeV93A" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Sep 2018 19:18:31 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GY3gEneW8SAT29cAF4AWSJjSyGekeV93A Content-Type: multipart/mixed; boundary="IvlvVLksqFimoXga34xHnBfqzd8KM2rNS"; protected-headers="v1" From: Guido Falsi To: "Danilo G. Baio" Cc: doc@FreeBSD.org Message-ID: <9e9d90ce-96aa-10e8-1e6f-50c82e63d492@madpilot.net> Subject: Re: Help with generating the translated handbook correctly References: <7bd73f84-86e7-4695-5a0e-4a6bb0801e16@madpilot.net> <20180908174613.fid3unq2acbaa2nh@dx240.localdomain> In-Reply-To: <20180908174613.fid3unq2acbaa2nh@dx240.localdomain> --IvlvVLksqFimoXga34xHnBfqzd8KM2rNS Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 9/8/18 7:46 PM, Danilo G. Baio wrote: > On Sat, Sep 08, 2018 at 05:44:46PM +0200, Guido Falsi wrote: >> Hi, >> >> While translating the handbook to Italian I'm generating in work in >> progress copies of the handbook. I'm following instructions from the >> primer, but I'm not getting exactly what I expect. >> >> In detail some paragraphs from the handbook which do have translations= >> in the po file get anyway rendered in English. >> >> To generate the html file I'm doing: >> >> % cd doc/head/it_IT.ISO8859-15/books/handbook/ >> % cp /path/to/it_IT.po . >> % make tran >> % make FORMATS=3Dhtml >> >> The po file I'm using can be viewed here: >> >> https://github.com/madpilot78/FreeBSD-doc-it/tree/master/books/it_IT >> >> The resulting output is here: >> >> https://people.freebsd.org/~madpilot/ItalianTranslation/handbook.html >> >> If you go the section 1.3 About the FreeBSD Project you can see the >> string of the title itself is in English (should read "Informazioni su= l >> FreeBSD Project"), and also below that in the history part the 1st, 4t= h, >> 5th and 6th paragraphs are in english. >> >> If you look at the .po file you'll see there actually are translations= >> there for these paragraphs, and I also double checked they're not mark= ed >> as drafts. >> >> I'm clearly doing something wrong or missing some point. Anyone so kin= d >> to spare a little time helping me with this? >> >> Thanks in advance! >> >> --=20 >> Guido Falsi >=20 >=20 > Hi. >=20 > This happens because the English document was changed. >=20 > I suggest you to freeze your testing repository with the same revision = at Zanata. >=20 > When the English document is updated, the PO file is merged and all str= ings changed became "fuzzy". >=20 Thanks for pointing this out, I suspected something like this, but I was sure I was using the po file generated by the same version I still have. Maybe I made a mistake and updated my repo without noticing then >=20 >=20 > You will need to check all of them and remove the "fuzzy" state. >=20 > The `make tran` ignores fuzzy strings, that's why you are seeing the En= glish string. >=20 > On Zanata, when you update the source POT, fuzzy strings will be turned= do yellow: > - Draft (yellow) - fuzzy text, all translators can work > - Translated (green) - when someone changes the draft text > - Approved (blue) - only a reviewer can change text to this state I'll try updating the pot file then and fix the yellow ones. Thanks for you help! Much appreciated! --=20 Guido Falsi --IvlvVLksqFimoXga34xHnBfqzd8KM2rNS-- --GY3gEneW8SAT29cAF4AWSJjSyGekeV93A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8xcgV+F+Tjo9pZ4dGuaGDlbL0pMFAluUIIEACgkQGuaGDlbL 0pMsMwgAmBaoJ0riLif5UAdc3sKc4aDVDIxiodFOU34/n5SsktzRHgwPVk6GUTdW 1Tqzz+ru0J6yY6ChwZ8m5xatYetNi7Glteb5dqrv7JYCWiS+mTeeyRj0EoUPJnBb Tn7YcWbms72EZ7btNj4TjvMiVEB2fbAh+zN50IN55BqIHPWURa/uNuJoHqgYUBpC aWQqyfkk3hWMk/dVHFtbsTggEwUSmLVnhypWdRnIR5Gf61fj5IiKBMI3/TC2X7W0 BIa8t+HzyyF0CLS+dhrEJ6WvliKkSq40/b9W4nnNCcgAySAu4TeBSxVU87fdyFA/ 7EzLCsr+u8Kc/5ngF9wTxVuFiTC+/A== =0Bo5 -----END PGP SIGNATURE----- --GY3gEneW8SAT29cAF4AWSJjSyGekeV93A--