Page MenuHomePhabricator

Extension:Translate assumes the original page to be in the wiki's language
Closed, DuplicatePublic

Description

Apparently there is no way to manually set the language of the original page marked for translation and, if I understand correctly, it's done on per-wiki basis. Which makes no sense for multi-language projects, like meta or outreach wiki.

Consider this example: I have a lengthy document in Polish I would like to share with the community (here it is at Outreach). I also translated parts of it to English here, I would love to translate it to additional languages. The easiest way would be to mark the Polish original with <translate> tags, finish the translation to English (copy-pasting paragraphs one by one), and then translate either the English or Polish version to additional languages. Except MediaWiki automagically assumes the original text is in English.

There should be a way to manually set the language of the original document. When translating, there should also be a way to chose another language as a source (say, in our case someone might want to translate from English rather than from Polish).

Event Timeline

Jdforrester-WMF renamed this task from Extension:Translate assumes the original page to be English to Extension:Translate assumes the original page to be in the wiki's language.Sep 7 2016, 11:56 PM

(Tweaked the title to correct my mis-communication, sorry; I imagine there's an existing task for this.)

With the page.page_content field, we'll be able to determine this per page.

Nikerabbit added a subscriber: Nikerabbit.

This has been fixed in Translate long time ago. See T69223 for the status on enabling support in MediaWiki core on Wikimedia sites.

Wow, thatnks Nikerabbit. Do I understand correctly that there would be a way to set the default language for each page individually, except not just now? If I understand correctly, there's no consensus to implement that change and no ETA on it. So, should I hold my breath or not?

Wow, thatnks Nikerabbit. Do I understand correctly that there would be a way to set the default language for each page individually, except not just now?

Yes, the feature has been waiting for the Wikimedia Foundation to apply the schema change since 2014.

@Halibutt See T69223 for the status on enabling support in MediaWiki core on Wikimedia sites.

The schedule is not in my control.