GNOME Bugzilla – Bug 566821
english is reversed when useing RTL desktop
Last modified: 2018-02-08 12:55:07 UTC
Please describe the problem: On Braille monitor, Hebrew is displayed well, but English is revered. Same problem on an English desktop, but Hebrew is reversed. Steps to reproduce: 1. open orca with braille monitor on with this command 'LANGUAGE=he orca' 2. look at English text 3. be disappointed :( Actual results: Expected results: Does this happen every time? yes Other information: i'll add sreenshots
Created attachment 125881 [details] when using hebrew
Eeks! I'm not sure how to resolve this. Do you have any ideas? In addition, it looks like the English text shown should not be there -- the name "Button" should be translated as well. I'm not sure where things are going wrong with that, but it might be an incomplete he.po file for orca. Resolving that particular example, however, doesn't seem like it would help with spots where we might have mixed English/Hebrew text -- I'm not sure if Orca should handle that or if BrlTTY should handle it, though. One final thought - the braille monitor is merely a debugging/demoing tool. I wonder if the stuff actually going to a physical braille display might end up being interpreted differently by BrlTTY?
Created attachment 126768 [details] [review] set direction to ltr and fix hebrew with pyfribidi >Eeks! I'm not sure how to resolve this. Do you have any ideas? well, yes. i'm not sure if it is the best solution, but it works. set the braille monitor direction always LTR, and use pyfribidi to Hebrew text in the right direction. it works, even with Hebrew and English mixed. > In addition, it looks like the English text shown should not be there -- the >name "Button" should be translated as well. I'm not sure where things are >going wrong with that, but it might be an incomplete he.po file for orca. I'm working on it. >Resolving that particular example, however, doesn't seem like it would help >with spots where we might have mixed English/Hebrew text -- I'm not sure if >Orca should handle that or if BrlTTY should handle it, though. i'm really sorry i have no idea what you are talking about, and how it's related to this problem. i was just working on the translation and noticed this issue, i know very little about how this app works (but i know what it used for). >One final thought - the braille monitor is merely a debugging/demoing tool. I >wonder if the stuff actually going to a physical braille display might end up >being interpreted differently by BrlTTY? how can i check?
(In reply to comment #3) > >Eeks! I'm not sure how to resolve this. Do you have any ideas? > well, yes. i'm not sure if it is the best solution, but it works. > set the braille monitor direction always LTR, and use pyfribidi to Hebrew text > in the right direction. it works, even with Hebrew and English mixed. Is pyfribidi a module that ships with Python, or does one need to download/install it separately? I couldn't find it on my machine (OpenSolaris 2009.06). :-( > > In addition, it looks like the English text shown should not be there -- the >name "Button" should be translated as well. I'm not sure where things are >going wrong with that, but it might be an incomplete he.po file for orca. > I'm working on it. With a more complete he.po file, does the problem go away? > >One final thought - the braille monitor is merely a debugging/demoing tool. I > >wonder if the stuff actually going to a physical braille display might end up > >being interpreted differently by BrlTTY? > how can i check? If you have brltty installed, you can run the following command to display a window showing what's actually being presented on the physical braille display. It's like Orca's braille monitor, but better: brltty -d /dev/term/0 -bxw -xno -p none -A auth=none -n When you run Orca and enable braille, you should see output in the window that the above command creates. Many thanks!
>Is pyfribidi a module that ships with Python, or does one need to >download/install it separately? I couldn't find it on my machine (OpenSolaris >2009.06). :-( no, you can get it here: http://pyfribidi.sourceforge.net/ >With a more complete he.po file, does the problem go away? no, sorry... >If you have brltty installed, you can run the following command to display a >window showing what's actually being presented on the physical braille display. > It's like Orca's braille monitor, but better: > >brltty -d /dev/term/0 -bxw -xno -p none -A auth=none -n > >When you run Orca and enable braille, you should see output in the window that >the above command creates. i must be doing something wrong. brltty window says "no screen", and the terminal says: BRLTTY 3.10 [http://mielke.cc/brltty/] brltty: NoScreen Screen Driver: brltty: BrlAPI Server: release 0.5.2 brltty: opening local socket lock error 13: Permission denied. brltty: Error while initializing socket 0 Warning: Missing charsets in String to FontSet conversion Warning: Unable to load any usable fontset brltty: XWindow Braille Driver: version 0.1, 2004 brltty: ioctl KDMKTONE error 1: Operation not permitted. brltty: ioctl KIOCSOUND error 1: Operation not permitted. brltty: NoSpeech Speech Driver