Page MenuHomePhabricator

"Translate" links on Special:AllMessages should link directly to the respective messages at translatewiki.net
Closed, ResolvedPublic

Description

I have been cleaning up the interface messages in Turkish (since there are many messages that include bad translations both at trwiki and at Translatewiki), and having a hard time using the Translate links on Special:AllMessages. The links currently provide search results that use the title and the content of the message as search strings for https://translatewiki.net/wiki/Special:SearchTranslations. However, when the content of the local message is not consistent with the content at Translatewiki, Special:SearchTranslations is unable to list the message in question. Due to this problem, I resort to copy-pasting the title of the message to my address bar in order to get to the page, which is of course an inefficient way of working.

Therefore, I'd like to request that the "Translate" links on Special:AllMessages provide direct links to the respective messages at Translatewiki, or at least there should be a second link that does that, should you prefer to keep the relevancy-based search system.

@Nemo_bis has asked me to mention T70518, so there.

Event Timeline

Vito-Genovese renamed this task from "Translate" links on Special:AllMessages should link directly to the respective messages at TranslateWiki to "Translate" links on Special:AllMessages should link directly to the respective messages at Translatewiki.Apr 4 2017, 7:59 PM

Here is a more concrete example. Please see https://tr.wikipedia.org/w/index.php?title=%C3%96zel%3AT%C3%BCm%C4%B0letiler&prefix=group-autoreviewer-member+&filter=modified&lang=tr&limit=50.

Now, Translatewiki's TR translation in this case is of low quality, while the local translation at trwiki is plain wrong. When I click on Translate, the search string to be used for Special:SearchTranslations at Translatewiki becomes "Group-autoreviewer-member otomatik kontrol edilmiş kullanıcı", in another words, the trwiki message. This string, obviously, fails to return the intended result (see https://translatewiki.net/w/i.php?title=Special%3ASearchTranslations&group=mediawiki&grouppath=mediawiki&language=tr&query=Group-autoreviewer-member+otomatik+kontrol+edilmi%C5%9F+kullan%C4%B1c%C4%B1). I think the Translatewiki version of the message should have been used as the search string so that the translator can access the relevant message without trouble.

Having said that, I don't think it would solve the problem either. Something interesting happens when I use the uselang=en string in the first URL I have given above. Please see https://tr.wikipedia.org/w/index.php?title=%C3%96zel%3AT%C3%BCm%C4%B0letiler&prefix=group-autoreviewer-member+&filter=modified&lang=tr&limit=50&uselang=en. Now, when I hit Translate, the string becomes "Group-autoreviewer-member {{GENDER:$1|autoreviewer}}". This is neither good nor effective, since the "lang" is still "tr". "uselang" should only be about how the wiki is being displayed. Uselang value is converted to the lang value at Translatewiki, which shouldn't be happening.

I think, my original suggestion to use direct links to the relevant messages would solve the problem. I am still actively working on fixing such translation errors and losing precious time with copy-pasting.

Nemo_bis renamed this task from "Translate" links on Special:AllMessages should link directly to the respective messages at Translatewiki to "Translate" links on Special:AllMessages should link directly to the respective messages at translatewiki.net.Apr 27 2017, 5:09 PM
Nemo_bis triaged this task as Medium priority.
Nemo_bis added a project: I18n.

A direct link is not possible in 100 % cases, but maybe 98 % yes.

Change 350607 had a related patch set uploaded (by Nemo bis; owner: Federico Leva):
[mediawiki/core@master] Special:AllMessages: simply link the translatewiki.net MediaWiki namespace

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

Change 350607 abandoned by Nemo bis:
Special:AllMessages: simply link the translatewiki.net MediaWiki namespace

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

Nemo_bis unsubscribed.