Using a RTL language interface should prevent APT translation from showing in terminal

Bug #1537064 reported by Usama Akkad
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
language-selector (Ubuntu)
Opinion
Undecided
Unassigned

Bug Description

The output of APT command is in Arabic. This is problematic because gnome-terminal does not support RTL text, bug #263822

The suggested solution is to prevent translation from being shown in terminal for apt or other command line apps.

This have been tested on Lubuntu and with lxtermianl and on gnome terminal and xterm.

Lubuntu version: 16.04

We hope that 16.04 will get out in perfect shape for all users.

Tags: rtl
Usama Akkad (damascene)
tags: added: rtl
Revision history for this message
Usama Akkad (damascene) wrote :

Screen shot showing Arabic language showing as rectangles and this is video showing how things are in gnome-terminal ..
http://www.youtube.com/watch?v=o4UKiHQMDvQ

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for your report.

This would be a rather odd exception rule for language-selector and related packages. When you change the display language, the LANG and LANGUAGE variables are changed, and the new values are applied next time you log in.

If you want to use a different display language for terminal output, you can achieve it manually. For e.g. gnome-terminal, you can edit ~/.bashrc and add this line:

export LANGUAGE=en_US

Doing that automatically in case of a RTL language would not be uncomplicated, and personally I'm disinclined to implement it.

However, you mentioned that you have tested it. From those tests, do you have any own specific idea of what code changes you would like to see?

Changed in language-selector (Ubuntu):
status: New → Incomplete
Revision history for this message
Usama Akkad (damascene) wrote :

Your solution seems good enough. Could you please clarify why it's not preferable to be automatically have it there?

Arabic, Persian, Urdu and Hebrew are unusable in gnome-terminal and Lxterminal. This will fix it.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for language-selector (Ubuntu) because there has been no activity for 60 days.]

Changed in language-selector (Ubuntu):
status: Incomplete → Expired
Usama Akkad (damascene)
Changed in language-selector (Ubuntu):
status: Expired → Incomplete
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Sorry for late reply.

As I mentioned, it would be a little complex, and an odd exception. But besides that, it's not apparent that all RTL language users would like it. While those who speak English well enough might appreciate it, others might not.

So I think it's better to spread the word about how you *can* change the display language for the terminal only, and keep the default behavior as is.

Changed in language-selector (Ubuntu):
status: Incomplete → Opinion
Revision history for this message
uwe (maabdulhaq) wrote :

Btw, it works fine in konsole (in contrast with lxtermianl and on gnome terminal and xterm). this is probably a direct result of bugs related to RTL support in vte, not sure why konsole is different

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.