[Language support] After changing the User language from Hebrew to Hindi, the Desktop is still in RTL

Bug #887929 reported by Lohith D Shivamurthy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-2d
Invalid
Undecided
Unassigned

Bug Description

Steps to repro:

When the desktop is in 'English'
1) Install Hebrew, Hindi languages from System settings->Language support
2) Change your language to Hebrew. [system settings -> user accounts-> Language]
3) Logout and login again as the same user.
4) Desktop is changed to Right-To-Left. [Launcher is moved to Right side, Panel Indicators moved to left side]
5) Change your language to Hindi. [system settings -> user accounts-> Language]
6) Logout and login as the same user again
7) Click on '<User>' icon in panel indicator.

Expected :
1) Hindi is not a Right-To-Left language, Hence At (6) the desktop should have returned to Left-To-Right mode already
2) At (7) All menu text should be in Hindi.

Actual :
1) At (6), the desktop is still in Right-To-Left mode. Launcher is still in Right side and Panel indicators are in Left side.
2) At (7) The menu text has three languages, Hindi, Hebrew(?) and English.

Similarly for other Indian languages also the same bug can be reproduced.

Revision history for this message
Haggai Eran (haggai-eran) wrote :

Hi,

I couldn't reproduce the problem the way you described it. After changing the the language to Hindi, the LANGUAGE environment variable was set in .profile to "hi:en", and the desktop was left to right.

However, I was able get a right-to-left Hindi desktop by setting LANGUAGE to "hi:he:en". Could you write the value of LANGUAGE in your desktop?

A possible root of this problem would be if that the string QT_LAYOUT_DIRECTION was left untranslated in left-to-right languages, such as English and Hindi. If the translation mechanism picks the first translated version, and Hebrew appears anywhere in the LANGUAGE variable, it could cause the result to be "RTL" telling unity-2d to mirror it's interface.

Revision history for this message
Lohith D Shivamurthy (dyams) wrote :

The LANGUAGE settings at different steps of reproducing the bug:

Step Value
--------------------------------------
(1) en_GB:en
(4) he:en_GB:en
(7) hi:he:en_GB:en
(1) en_GB:en

I didn't edit them manually, just followed the steps i gave above.

Changed in unity-2d:
status: New → Invalid
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.