GNU bug report logs

#35319 Guix System installer text direction wrong for RTL languages

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to bug-guix@gnu.org:
bug#35319; Package guix. (Fri, 19 Apr 2019 10:16:01 GMT) (full text, mbox, link).


Acknowledgement sent to "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org. (Fri, 19 Apr 2019 10:16:01 GMT) (full text, mbox, link).


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

From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: bug-guix@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@gnu.org:
bug#35319; Package guix. (Fri, 19 Apr 2019 15:27:02 GMT) (full text, mbox, link).


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

From: Ludovic Courtès <ludo@gnu.org>
To: "pelzflorian \(Florian Pelz\)" <pelzflorian@pelzflorian.de>
Cc: 35319@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@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@gnu.org:
bug#35319; Package guix. (Fri, 19 Apr 2019 18:12:01 GMT) (full text, mbox, link).


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

From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: Ludovic Courtès <ludo@gnu.org>
Cc: 35319@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@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@gnu.org:
bug#35319; Package guix. (Fri, 19 Apr 2019 23:01:01 GMT) (full text, mbox, link).


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

From: Ludovic Courtès <ludo@gnu.org>
To: "pelzflorian \(Florian Pelz\)" <pelzflorian@pelzflorian.de>
Cc: 35319@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@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@gnu.org> to control@debbugs.gnu.org. (Thu, 09 Apr 2020 07:39:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Sep 8 04:51:45 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.