Extension talk:Translate

Jump to navigation Jump to search

About this board


Are there any plans to implement a Glossary function?

2003:6:4369:284E:7141:D317:56D5:A1A8 (talkcontribs)

This would be important for consistency across pages.

Nikerabbit (talkcontribs)
Reply to "Are there any plans to implement a Glossary function?"

Is this extension compatible with the Visual Editor?

Summary by Tinss

Visual edition not supported for now.

Tinss (talkcontribs)

We're currently thinking about making our wiki multilingual. Wikicode is too intimidating for our user base so we have opted to make the VisualEditor our default interface.

Any support for that extension from Translate?

Nikerabbit (talkcontribs)

For editing translatable pages, no. Editing them in visual mode is not properly supported.

How to apply this extension to translate Wikipedia articles?

RIT RAJARSHI (talkcontribs)

I have tried the "Content translation" feature but I want to try the Translate extension too. How to use that? Is it possible at all? RIT RAJARSHI (talk) 21:58, 13 September 2020 (UTC)

Tacsipacsi (talkcontribs)

No, the Translate extension is by design unsuitable for translating Wikipedia articles: it forces translators to strictly follow the structure of the original page and doesn’t leave much room for localization, which is natural at article translation—for example, when translating an article on wind mills from Spanish to Chinese, one would probably skip some parts on the history of Iberian and Latin American wind mills, but write more about the wind mill history in China.

RIT RAJARSHI (talkcontribs)

Okay thank you

Reply to "How to apply this extension to translate Wikipedia articles?"

Language showcase about module translation

Aaharoni-WMF (talkcontribs)


This Wednesday, August 26 at 12:00 UTC there will be an online meeting on the topic of localizing Scribunto Lua modules. Posting it here because the Translate extension will likely be a part of this project in one way or another.

More about this event: mw:Wikimedia Language engineering/Showcase.

All editors are invited, especially all those who:

  • Develop modules and templates in any wiki, particularly the multilingual ones such as Wikidata, Commons, Meta, and mediawiki.org.
  • Translate software and pages using the Translate extension on translatewiki.net, Meta, mediawiki.org, etc., and manage translatable pages.

A little intro can be found at Phabricator task T238417, and much more information will be given at the meeting.


Aaharoni-WMF (talkcontribs)

Time change

I've been feeling very unwell today, and since I'm the main host and presenter in this meeting, I have to postpone this meeting to next week.

New time: Sep 2, 2020 02:00 PM UTC. Zoom link: https://wikimedia.zoom.us/j/95167235390

I am terribly sorry about the late notice and about the spam, but these circumstances are out of my control. Thanks for understanding, and I hope to see you at the new scheduled time! :)

Reply to "Language showcase about module translation"
Bever (talkcontribs)

Hi, when reading this help page, it occurred to me that I could translate it immediately, but I got a little fatigued after reading things like this:

"The Translate extension has many features specifically targeted to translators, while making back-end integration with actual source code as easy as possible. Meanwhile, everything runs inside MediaWiki, which allows users an almost endless degree of freedom for communication and self-organization."

This looks more like some ad, attempting to overwhelm the reader with jargon and fashionable words like 'communication', than like a help text. Does it mean anything? Bever (talk) 00:17, 11 July 2020 (UTC)

Nikerabbit (talkcontribs)

I am sure it could be improved to communicate the benefits more clearly, but I am still learning about technical documentation.

Bever (talkcontribs)

Hi, thank for your response. I hope you didn't think my comment was too harsh. :-) Bever (talk) 23:05, 23 July 2020 (UTC)

Reply to "Help page"
Bever (talkcontribs)

Hello, the template uses the variable construct {{{type|{{SUBJECTSPACE formatted}}} to refer to the page on which the template is used, for example "this help page" on Help:Preferences. However, in translation, not all types of pages have the same word for 'this' in Dutch, and probably other languages with grammatical gender, like French and German. It is "deze helppagina" but "dit sjabloon" (='this template'). Is there a way to have the correct pronoun for each type of page?

Shirayuki (talkcontribs)

I have replaced "this {{{type|{{SUBJECTSPACE formatted}}}}}" with generic "this page".

Nikerabbit (talkcontribs)

This is mostly out of scope for Translate. {{GRAMMAR:}} or {{#switch:}} could be used if your language supports it.

Reply to "Variable problem in Template:Update"
NicoV (talkcontribs)

Hi. I'm the author of a tool to fix syntax problems in MediaWiki wikis, WPCleaner. I want to use it on Meta also, but edits on translated page through action=edit is not possible, so I would like to be able to know in advance if the page will be editable. How can I do it through the API in a portable way between wikis?

Nikerabbit (talkcontribs)
NicoV (talkcontribs)

Thanks for the answer, but not very practical to have to do another API call just to get that information... I hope there's something can be retrieved when asking for information about pages

Nikerabbit (talkcontribs)

That information could be stored in pageprops, but that would be a feature request.

NicoV (talkcontribs)
Nikerabbit (talkcontribs)

Oh I didn't know that exists!

Translate URLs in target language

Tuxxic (talkcontribs)


Is there any means to translate a page URL written in a language to another language ?

For instance, I have : https://mywiki/index.php?title=Mon_titre_en_français

The English version is : https://mywiki/index.php?title=Mon_titre_en_français/en

I would like to have : https://mywiki/index.php?title=My_title_in_English

I already translate the page titles, so I have the translation.

I also use a model to display translated title in the translated pages, which is as follows :

{{#ifexist: Translations:{{{1}}}/Page display title{{#translation:}}<!-- 
     then -->|[[Special:MyLanguage/{{{1}}}|{{Translations:{{{1}}}/Page display title{{#translation:}}}}]]<!-- 
     else -->|[[Special:MyLanguage/{{{1}}}|{{{1}}}]]

So when people use this model and a page name, it is translated to the display page (ex: {{Traduction|Ma page en français}} will display My page in English as a link.

My first guess was to use redirections, but as there are too many pages to redirect, is there a way to do it automatically with Translate module or another technique ?

Nikerabbit (talkcontribs)

No, changing the links is not supported, because there is no way to avoid conflicts with identical translations in different languages.

Tuxxic (talkcontribs)


Do you think my first idea using redirections is usable ?

Nikerabbit (talkcontribs)

It may work in some restricted situations, but not as a general solutions.

Reply to "Translate URLs in target language"
Funkenstern (talkcontribs)


Is it possible to install the Translate extension on a Postgres or must I fear breaking MediaWiki?



Tuxxic (talkcontribs)


Honestly, I can only invite you to be careful and have a test on a replication of your MediaWiki instance first, but this goes for any test of any extension you will be using.

But I'd say, regarding requirements, that it is not compatible : Help:Extension:Translate/Installation

Best regards

Nikerabbit (talkcontribs)

We do not support Postgres at the moment. That might change with Phab:T191231.

Reply to "PostgresQL 12 support"

Automatically mark pages for translation

Tuxxic (talkcontribs)


I have been using the Translation extension for a few years now, and I wonder if there is a means to automatically mark pages for translation like with a cron for instance.

I am also using the Extension:Replace Text and each time I use it, I have to manually go on each page and mark it.

Also, my users are not very used to mark every update for translation, so the updates are not always marked.

Is it possible or is it out of scope ?

Thanks in advance

DannyS712 (talkcontribs)

I plan to write a bot to automatically mark pages for translation once phab:T235397 is done, but that would still be from the front end

APatro (WMF) (talkcontribs)
Reply to "Automatically mark pages for translation"