From owner-freebsd-translators@freebsd.org Tue Mar 31 03:45:53 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 E12A7275F7C for ; Tue, 31 Mar 2020 03:45:53 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48rwGT0dcrz4Sgx; Tue, 31 Mar 2020 03:45:53 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from localhost (unknown [IPv6:2409:11:a740:4700:16:ceff:fe34:2700]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: hrs) by smtp.freebsd.org (Postfix) with ESMTPSA id 8636AD1F9; Tue, 31 Mar 2020 03:45:44 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Date: Tue, 31 Mar 2020 12:45:27 +0900 (JST) Message-Id: <20200331.124527.1078840241867193092.hrs@FreeBSD.org> To: javad.kouhi@gmail.com Cc: dbaio@freebsd.org, freebsd-translators@freebsd.org Subject: Re: Self-introduction: Javad Kouhi From: Hiroki Sato In-Reply-To: References: <20200330230002.wvfujukeqfe63i3h@t480.local> X-Old-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-PGPkey-fingerprint: 6C0D 2353 27CF 80C7 901E FDD2 DBB0 7DC6 6F1F 737F X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="--Security_Multipart(Tue_Mar_31_12_45_27_2020_266)--" Content-Transfer-Encoding: 7bit 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: Tue, 31 Mar 2020 03:45:54 -0000 ----Security_Multipart(Tue_Mar_31_12_45_27_2020_266)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Javad Kouhi wrote in : ja> As you definitely know, English is written from left to right, but ja> Persian and other Middle Eastern Languages such as Arabic and Hebrew ja> are written from right to left. Since the Handbook is a technical book ja> and it contains a lot of untranslatable words (variable names, ja> keywords, etc), intermixing Persian and English is inevitable. So, is ja> there any support for RTL languages? If no, how could I help with ja> that? DocBook XML technically supports RTL. ja> To make matters worse, there are also XML tags, which could make the ja> code pretty ugly in RTL languages. Tags are not shown correctly (not ja> only the user sees something like >/tag< instead of , but also ja> they are misplaced in the source code). I've seen similar problems in ja> other projects such as Wikipedia. The solution they have adopted is to ja> translate the tags themselves, this way, the tags are shown correctly ja> in the source code, making it much easier for others to change the ja> code. So, is there a way to translate the tags? Does "translating tags" mean replacing the tag name of with Parisian counterpart in RTL, or the whole tag including <> in RTL? While it is possible to create a preprocessing XSLT to convert them back to corresponding DocBook tags, I think it is more realistic to keep XML files in LTR as the English versions do, and translate sentences in RTL by adding dir="rtl" attribute to the XML tags because most of XML toolchains cannot handle tags and attributes in RTL. I am not sure if this is comfortable for RTL language users like you, however. Could you show a typical HTML file in UTF-8 Persian? I would like to know what tags look like. -- Hiroki ----Security_Multipart(Tue_Mar_31_12_45_27_2020_266)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iMkEABMKAC4WIQRsDSNTJ8+Ax5Ae/dLbsH3Gbx9zfwUCXoK81xAcaHJzQGZyZWVi c2Qub3JnAAoJENuwfcZvH3N/EJICCLHTbnk17HdxpzvHZornrjQGM8UbnDp8j550 BQOi3xGKN/L5nOBPNX/Flk9wCrm4fDZ3SIo3ULY/pjCJ3GxQ8y6rAgkB12WtEXwv 7Qeo89yM9e99FLGHI7/kfg+wHnzVSAVSAsZC3lpeNhrpGp25cumpG1qcF4P4VDYF KYPw5dSZxvis0Tc= =kZl3 -----END PGP SIGNATURE----- ----Security_Multipart(Tue_Mar_31_12_45_27_2020_266)----