GNU bug report logs - #35319
Guix System installer text direction wrong for RTL languages

Previous Next

Package: guix;

Reported by: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>

Date: Fri, 19 Apr 2019 10:16:01 UTC

Severity: important

To reply to this bug, email your comments to 35319 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#35319; Package guix. (Fri, 19 Apr 2019 10:16:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 19 Apr 2019 10:16:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: bug-guix <at> gnu.org
Subject: Guix System installer text direction wrong for RTL languages
Date: Fri, 19 Apr 2019 12:05:34 +0200
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 ‭العربية‬.

Regards,
Florian




Information forwarded to bug-guix <at> gnu.org:
bug#35319; Package guix. (Fri, 19 Apr 2019 15:27:02 GMT) Full text and rfc822 format available.

Message #8 received at 35319 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: "pelzflorian \(Florian Pelz\)" <pelzflorian <at> pelzflorian.de>
Cc: 35319 <at> debbugs.gnu.org
Subject: Re: bug#35319: Guix System installer text direction wrong for RTL
 languages
Date: Fri, 19 Apr 2019 17:26:35 +0200
"pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de> 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?

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#35319; Package guix. (Fri, 19 Apr 2019 18:12:01 GMT) Full text and rfc822 format available.

Message #11 received at 35319 <at> debbugs.gnu.org (full text, mbox):

From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 35319 <at> debbugs.gnu.org
Subject: Re: bug#35319: Guix System installer text direction wrong for RTL
 languages
Date: Fri, 19 Apr 2019 20:11:49 +0200
On Fri, Apr 19, 2019 at 05:26:35PM +0200, Ludovic Courtès wrote:
> "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de> 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




Information forwarded to bug-guix <at> gnu.org:
bug#35319; Package guix. (Fri, 19 Apr 2019 23:01:01 GMT) Full text and rfc822 format available.

Message #14 received at 35319 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: "pelzflorian \(Florian Pelz\)" <pelzflorian <at> pelzflorian.de>
Cc: 35319 <at> debbugs.gnu.org
Subject: Re: bug#35319: Guix System installer text direction wrong for RTL
 languages
Date: Sat, 20 Apr 2019 01:00:37 +0200
"pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de> skribis:

> 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

Thanks for researching it.  We may be unable to fix it for 1.0 but we
should definitely address it.

Ludo’.




Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 09 Apr 2020 07:39:02 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 26 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.