Page MenuHomePhabricator

Wikifunctions sidebar links should be translatable
Open, Needs TriagePublic

Description

On pages like https://www.wikifunctions.org/?uselang=zh, the "Project chat" and "Current status" links are shown in English.

These links should use messages which can be translated on Translatewiki, so that users can easily add translations for them.

Example: https://www.wikifunctions.org/w/index.php?title=Wikifunctions:Project_chat&oldid=71280#Note_about_MediaWiki:Sidebar

Event Timeline

I don't think this is a concept that the Translate extension supports, sadly. (Unless you know of it working somewhere like this?)

They are translated in pages like https://www.wikifunctions.org/wiki/MediaWiki:Villagepump/zh (cf https://www.wikidata.org/wiki/MediaWiki:Villagepump/zh) and https://www.wikifunctions.org/wiki/MediaWiki:Status.

  • If you mark MediaWiki:Villagepump for translation, translation works and it can be translated by non-admins (see T214741, though I am not sure whether it is a bug)
  • Wikidata has about 60 pages in MediaWiki namespace marked for translation
  • Commons currently have no such page, but previously have some
  • For now, if you want to translate them bot do not want them be able to be translated by non-admins, you need to manually modify the messages
Bugreporter renamed this task from Wikifunctions sidebar links should be translatable on Translatewiki to Wikifunctions sidebar links should be translatable .Jan 11 2024, 5:26 PM

But this message will be only used in Wikifunctions, since in other wikis Village Pump will locate elsewhere.

If you don't want to put project-specific messages in the generic repository, then put them in a project-specific repository like Wikidata and the Incubator do?

An example of how big a difference it can make:
https://www.wikidata.org/wiki/MediaWiki:Queryservice was created in June 2017 and was moved to the Wikidata.org extension in July 2022, 5 years and 1 month later. There were only 12 existing translations to import (see commit). A year and a half later, there are now 43 translations (code search), over three times as many.

The way this is normally done is by adding the messages to a repository.

Indeed, I support this.

abi_ renamed this task from Wikifunctions sidebar links should be translatable to Wikifunctions sidebar links should be translatable.Jan 15 2024, 4:07 AM
Nikerabbit subscribed.

It seems no code changes are needed in Translate with the proposed solution.