Page MenuHomePhabricator

When priority languages are defined for a translation, change the language for the translation is not triggering the warning template properly
Open, Needs TriagePublic

Description

Tested on Firefox and Chromium last versions, on Xubuntu last version as well. The page used for the test has ar, es, fr, ja or ru as priority language for translations.

Case 1: default user language is not a priority language

How to reproduce:

  1. go to https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Research%3AExpanding+Wikipedia+articles+across+languages%2FTool+Translations&language=en&action=page&filter=
  2. select another language (including qqq) that is not ar, es, fr, ja or ru

Expectation: the warning message is updated to match the new language
Reality: the first language selected is kept in the warning

Capture d’écran_2018-06-15_16-33-22.png (488×1 px, 79 KB)

Side note: selecting qqq shouldn't display any warning.

Case 2: default user language is a priority language

How to reproduce:

  1. have your interface using ar, es, fr, ja or ru
  2. go to https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Research%3AExpanding+Wikipedia+articles+across+languages%2FTool+Translations&language=fr&action=page&filter= (that's the link I have when I'm on my volunteer account, using French as default)
  3. select another language (including qqq) that is not ar, es, fr, ja or ru

Expectation: the warning message is displayed to match the new language
Reality: no warning message displayed.

Capture d’écran_2018-06-15_16-46-04.png (371×1 px, 34 KB)

Event Timeline

Vvjjkkii renamed this task from When priority languages are defined for a translation, change the language for the translation is not triggering the warning template properly to 0taaaaaaaa.Jul 1 2018, 1:03 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from 0taaaaaaaa to When priority languages are defined for a translation, change the language for the translation is not triggering the warning template properly.Jul 2 2018, 4:58 AM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.