From owner-freebsd-translators@freebsd.org Wed Apr 1 11:02:55 2020 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 293C22B84E3 for ; Wed, 1 Apr 2020 11:02:55 +0000 (UTC) (envelope-from javad.kouhi@gmail.com) Received: from mail-vk1-xa2f.google.com (mail-vk1-xa2f.google.com [IPv6:2607:f8b0:4864:20::a2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 48sjw52D1Gz4Sfn; Wed, 1 Apr 2020 11:02:44 +0000 (UTC) (envelope-from javad.kouhi@gmail.com) Received: by mail-vk1-xa2f.google.com with SMTP id o124so6579678vkc.4; Wed, 01 Apr 2020 04:02:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=z6/srtgSRqLpJ5bjLyT+kkYRn6Q4gxfdftmxNaQgxu0=; b=iP/nHa5sEup1EcyCbIZzkvwf9eHcfAkTKOw0fYtNSLQByyQ6NDIChImthoHhwy2FdP cm8VG2yqXlnLn592wgF8yqBfyTL6jQJUir83GILynzRI6u48iNTMkCQpe1mfuaZrTaQ4 iu6ayCLNGbLtybF0nTeQyTr9ptD+1+TVCi9ROQhR3PmR2joE05aWMlgVHJl893AA0v85 uZg9W5gMgArMi8+8p9VnN9aHBZVkOW8cHWA/BVoqDydifnNRf4HVs8l39dc/zXT4q1Gf pzkcGaaj8XAYqrVViaEAU7xyTbpDFWyvJ8pjN4KSf7aFTYcbFRaBVmftp1kFPR0nbhoy CEPQ== 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=z6/srtgSRqLpJ5bjLyT+kkYRn6Q4gxfdftmxNaQgxu0=; b=ttwXFqjUlTcza0JRcgVqcWMl/pIdG0jokMrJQKOICOtZBAaSUiEGeXJF5me7QudzJF 0ImVyjjAZSXYTKLJyGkDi9DrIC4KnOOh2c/fTBITm+RGjkFPCwZqVkG2hIoXCMqgdBwy JprJLhoX5BfLoJS7xEMBaTqmZLU+DVLMQJp2b6Vk4Ds1A6LmDICBGA3n5s5GYOqWFhcV 44DJGzUUtwGNBR0d3rv+vFuaQau9odfTFfQ2zmaMV0dpo6DBnW6tgj6OuOvMofoHpoxi /2Ohk1l8qUEB05vlZGdRx72qoPNNJIud12fwzU9M3NF/cWd2i6j/NO+4StfnH72WjTvU 3SWQ== X-Gm-Message-State: AGi0Pub7y0IZ9dWaEWpLr/19AXNOdwAsLcDmOHeBRbVkAHxZemE+yM7A xjByjV9BxEGTc7/211wvXPRr4MTRnkpWhL35R25RYkg4jEs= X-Google-Smtp-Source: APiQypKdI/6ABpGO8Rpq2wWy1SYKV+CtXzptONnd2Fn5H315LtwXoVCUe4jDSzP0HWjfOOUZWeaOqdpHHv2dmfCxEkI= X-Received: by 2002:a67:7fd7:: with SMTP id a206mr16173005vsd.5.1585738645569; Wed, 01 Apr 2020 03:57:25 -0700 (PDT) MIME-Version: 1.0 References: <20200331.124527.1078840241867193092.hrs@FreeBSD.org> <20200331170132.gyjlo7nel3cajidf@t480.local> <20200401.035204.1608271793023335727.hrs@FreeBSD.org> <20200331204305.gyq2mlh4mv7lykob@t480.local> In-Reply-To: From: Javad Kouhi Date: Wed, 1 Apr 2020 15:26:48 +0430 Message-ID: Subject: Re: Self-introduction: Javad Kouhi To: "Danilo G. Baio" Cc: Hiroki Sato , freebsd-translators@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48sjw52D1Gz4Sfn X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=iP/nHa5s; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of javadkouhi@gmail.com designates 2607:f8b0:4864:20::a2f as permitted sender) smtp.mailfrom=javadkouhi@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (-9.18), ipnet: 2607:f8b0::/32(-0.35), asn: 15169(-0.45), country: US(-0.05)]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[f.2.a.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE_FREEMAIL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-translators@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Translators List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2020 11:02:55 -0000 I just finished articles_ipsec-must. On Wed, Apr 1, 2020 at 8:47 AM Javad Kouhi wrote: > > Hello and thank you for the replies. > > > Could I suggest starting with small documents, like > > articles/leap-seconds or articles/ipsec-must ? > > I'll prepare a small article, so we would have something to start > with, will let you know when I'm finished. > > > The UI is doing something because the string is saved differently in th= e > > repository: > > https://people.freebsd.org/~dbaio/weblate/2020-03-31-093415_747x699_scr= ot.png > > The UI is showing the code in RTL format. In this form, the Persian > text is shown correctly, but the tags are not. On the other hand, in > this screenshot: > > https://people.freebsd.org/~dbaio/weblate/2020-03-31-093415_747x699_scrot= .png > > The code is shown in LTR format. In this form, the tags are shown > correctly, but the Persian text looks messy. > > If one is shown correctly, the other would look messy. They can't be > shown correctly at the same time. This is a universal problem with RTL > languages and is not specific to Weblate, which in that case, we could > have simply do the translation somewhere else and commit them here > when they're ready. The problem is that, even if we take the source > code somewhere else like a desktop text editor, it will still suffer > from the same problem (I'm yet to see a document/text editor that can > handle it correctly). Sometimes it doesn't matter (as in most web > pages which are usually generated automatically), sometimes it does > matter, when people have to directly deal with the tags. > > > I've built these initial translations you made, without any > > modification, see the results here: > > https://dbaio.bs2cloud.com.br/doc/fa01/fa_FA.UTF-8/books/handbook/ > > Although this initial build is based on just some test sentences, it > looks very promising. So, the compiled form seems to be already OK, > the main problem is with the source code. > > > Does "translating tags" mean replacing the tag name of with > > Parisian counterpart in RTL, or the whole tag including <> in RTL? > > I mean something like <=D9=84=DB=8C=D9=86=DA=A9>http://www.FreeBSD.org instead of > http://www.FreeBSD.org. This is the solution adopted by > similar projects, such as the Persian Wikipedia and the xepersian > package for LaTeX. I don't know if that's possible here, I guess it > requires fundamental modifications to the docproj infrastructures. I > could do the translation in the case those modifications to the > infrastructures are not a concern. > > > Could you show a typical HTML file in UTF-8 Persian? I would like to > > know what tags look like. > > Is this good enough? > https://kouhi.org/sample.html > > On Wed, Apr 1, 2020 at 1:13 AM Danilo G. Baio wrote: > > > > On Wed, Apr 01, 2020 at 03:52:04AM +0900, Hiroki Sato wrote: > > > "Danilo G. Baio" wrote > > > in <20200331170132.gyjlo7nel3cajidf@t480.local>: > > > > > > db> > Could you show a typical HTML file in UTF-8 Persian? I would = like to > > > db> > know what tags look like. > > > db> > > > db> I would like to see some examples as well. > > > db> > > > db> Persian was already marked as RTL on Weblate. > > > > > > Yes, but it still needs direction attributes in the DocBook results > > > even if editors and input fields on the web browsers support RTL in > > > the user interface. We have options such as "RTL by default and > > > marking up the LTR parts" and vice versa. And RTL and LTR in the > > > same #PCDATA with no tag will not be rendered correctly. Probably w= e > > > need to take care of them in the XSLTs after checking what "natural > > > way" to write a marked-up document in HTML or XML is. > > > > > > Thank you both for the explanations. > > > > So, this will be an interesting issue to fix, let's check some real > > issues in our documents and the best way of fixing it. > > > > We will need your help Javad. > > > > Could I suggest starting with small documents, like > > articles/leap-seconds or articles/ipsec-must ? > > > > > > > > > > db> I've built these initial translations you made, without any > > > db> modification, see the results here: > > > db> https://dbaio.bs2cloud.com.br/doc/fa01/fa_FA.UTF-8/books/handbook= / > > > db> > > > db> If this is good, I can go forward and add a Jenkins job to build = it regularly. > > > > > > The LANG_TERRITORY part must be fa_IR, not fa_FA. > > > > I'll fix that, thank you. > > > > -- > > Danilo G. Baio (dbaio)