unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35319: Guix System installer text direction wrong for RTL languages
@ 2019-04-19 10:05 pelzflorian (Florian Pelz)
  2019-04-19 15:26 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: pelzflorian (Florian Pelz) @ 2019-04-19 10:05 UTC (permalink / raw)
  To: 35319

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#35319: Guix System installer text direction wrong for RTL languages
  2019-04-19 10:05 bug#35319: Guix System installer text direction wrong for RTL languages pelzflorian (Florian Pelz)
@ 2019-04-19 15:26 ` Ludovic Courtès
  2019-04-19 18:11   ` pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2019-04-19 15:26 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: 35319

"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’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#35319: Guix System installer text direction wrong for RTL languages
  2019-04-19 15:26 ` Ludovic Courtès
@ 2019-04-19 18:11   ` pelzflorian (Florian Pelz)
  2019-04-19 23:00     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: pelzflorian (Florian Pelz) @ 2019-04-19 18:11 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 35319

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#35319: Guix System installer text direction wrong for RTL languages
  2019-04-19 18:11   ` pelzflorian (Florian Pelz)
@ 2019-04-19 23:00     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2019-04-19 23:00 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: 35319

"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’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-19 23:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-19 10:05 bug#35319: Guix System installer text direction wrong for RTL languages pelzflorian (Florian Pelz)
2019-04-19 15:26 ` Ludovic Courtès
2019-04-19 18:11   ` pelzflorian (Florian Pelz)
2019-04-19 23:00     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).