From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#35319: Guix System installer text direction wrong for RTL languages Date: Fri, 19 Apr 2019 20:11:49 +0200 Message-ID: <20190419181149.xdxscrfz3d2kxi3a@pelzflorian.localdomain> References: <20190419100534.u264vkx5cwcmkby4@pelzflorian.localdomain> <87h8auaudw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:46835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hHXzb-0002sR-M5 for bug-guix@gnu.org; Fri, 19 Apr 2019 14:12:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hHXzZ-0004px-Oe for bug-guix@gnu.org; Fri, 19 Apr 2019 14:12:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59278) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hHXzW-0004nf-4Y for bug-guix@gnu.org; Fri, 19 Apr 2019 14:12:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hHXzV-0002ZE-Uu for bug-guix@gnu.org; Fri, 19 Apr 2019 14:12:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87h8auaudw.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 35319@debbugs.gnu.org On Fri, Apr 19, 2019 at 05:26:35PM +0200, Ludovic Courtès wrote: > "pelzflorian (Florian Pelz)" skribis: > > > On Wed, Apr 17, 2019 at 12:06:31PM +0200, Ludovic Courtès wrote: > >> I made changes to the installer so it’s almost ready as far as I’m > >> concerned. It now displays language and territory names in the right > >> language. > >> > > > > Language names for Arabic, Farsi, Hebrew are shown Left-to-Right (LTR) > > instead of Right-to-Left, e.g. العربية is displayed wrongly as ‭العربية‬. > > Ouch, good point! I have no idea what it takes to display RTL languages > properly. AFAIK ‘gettext’ simply returns a string, so I guess it’s up > to the UI toolkit (Newt?) to do the right thing? > Debian has a similar bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917909 The https://salsa.debian.org/mckinstry/newt/blob/debian/master/debian/README.Debian says: Debian's version of newt include Bidirectional text support not yet present upstream, including an API addition "newtCheckboxSetWidth". Please only use this within Debian until it is supported upstream. There is a https://salsa.debian.org/mckinstry/newt/blob/debian/master/debian/patches/bidi.patch However, I do not know how to use this. Regards, Florian