Page MenuHomePhabricator

Broken parentheses in Special:Sitematrix when language lacks translation and has opposite direction
Open, LowPublic

Description

There is something wrong going on in Special:SiteMatrix. When a language lacks translation to the users interface language and it has the opposite direction, the parentheses are broken.

Example:
https://en.wikipedia.org/wiki/Special:SiteMatrix?uselang=fr

In the first column the description for the row with arz is broken. It says:

مصرى (مصرى)

Example for the opposite direction:
https://en.wikipedia.org/wiki/Special:SiteMatrix?uselang=ar

The row with Alemannisch is broken. The same is the case for many other languages.


Version: unspecified
Severity: normal

Details

Reference
bz70718

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:52 AM
bzimport added projects: SiteMatrix, I18n.
bzimport set Reference to bz70718.
Ainali created this task.Sep 11 2014, 2:50 PM

When the local translation for a language name is missing the system falls back to using the name of the language in that language itself instead.

The direction for the text remains that of the local language however, independently on whether a local translation was found.

Expected behaviour:
The direction for the text should be that of the local language only if a translation is found. Otherwise it should be that of the target language.

Ebraminio moved this task from Backlog to Other on the RTL board.Aug 9 2015, 11:44 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 9 2015, 11:44 AM
Krenair added a subscriber: Krenair.Sep 6 2015, 4:39 PM
Amire80 moved this task from Untriaged to RTL on the I18n board.Feb 28 2018, 12:29 PM