Page MenuHomePhabricator

Suggestions not showing after changing the language pair
Closed, ResolvedPublic

Description

The Section translation dashboard in the test instance shows a list of suggestions based on previous translations made with Content Translation on those languages.

When the dashboard loads it is showing a list of screenshots for the "English -> Spanish" language pair. However, changing any of the languages results in no suggestions.

Initial listChanged target language to FrenchChanged target language to Bengali
sx.wmflabs.org_index.php_Special_ContentTranslation(iPhone 5_SE).png (2×640 px, 313 KB)
sx.wmflabs.org_index.php_Special_ContentTranslation(iPhone 5_SE) (1).png (1×640 px, 105 KB)
sx.wmflabs.org_index.php_Special_ContentTranslation(iPhone 5_SE) (2).png (1×640 px, 104 KB)

Event Timeline

Pginer-WMF created this task.

For the initial enablement in Bengali the target language is not going to change, but it is still possible to select a different source.

Change 662708 had a related patch set uploaded (by Nik Gkountas; owner: Nik Gkountas):
[mediawiki/extensions/ContentTranslation@master] SX: Fix suggestion fetching upon source/target language change

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

Change 662708 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] SX: Fix suggestion fetching upon source/target language change

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

Jpita subscribed.

I found this issue by changing to this language pair

image.png (1×2 px, 418 KB)

Is this an issue with this task or related to T275389?

@Jpita Wikimedia REST Api is not available for some wikis (like "alt" wiki that you tried to use in the example above). This is the exact issue described in T275389, as you mentioned.