Page MenuHomePhabricator

Special:Translate - Disabled languages can be translated via Recent Additions
Open, In Progress, MediumPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Identify a group that has translations disabled to certain languages
  • Open a message for that group via Recent Additions message group on Special:Translate
  • Try to translate the message to the disabled language

What happens?:
User is able to translate the message and no warning is displayed

What should have happened instead?:

  1. A warning should be displayed to the user that translation to that language for that group is disabled
  2. Possibly remove these messages from appearing on Recent additions page when the disabled language is selected.

Other information -

Reproduced this when investigating this support ticket: https://translatewiki.net/wiki/Thread:Support/translate_but_dont_translate_!

For Oppia Android, translations are only enabled for a handful of languages, but I can translate it's messages to French via Special:Translate & with Recent Additions message group selected.

Event Timeline

abi_ triaged this task as Medium priority.Aug 23 2021, 10:44 AM
abi_ moved this task from Backlog to tux on the MediaWiki-extensions-Translate board.

Change 724995 had a related patch set uploaded (by Nikerabbit; author: Nikerabbit):

[mediawiki/extensions/Translate@master] Optimize metadata query in Recent(Additions)MessageGroup

https://gerrit.wikimedia.org/r/724995

abi_ changed the task status from Open to In Progress.Fri, Oct 1, 4:58 PM
abi_ assigned this task to Nikerabbit.

Change 724995 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Optimize metadata query in Recent(Additions)MessageGroup

https://gerrit.wikimedia.org/r/724995

With the patch above, messages not translatable to the target language should not appear in recent additions message group.