Page MenuHomePhabricator

NWE preview doesn't process language conversion using {{autotranslate}}
Open, MediumPublic


Steps to reproduce:

  • Go to Commons and enable the NWE beta feature
  • Pick a translatable userbox (e. g. User Wiki Loves Monuments)
  • Change your interface language to one of those that the chosen userbox has a translation for (e. g. Ukrainian in this case)
  • Edit your user page, paste the template into it and load the preview.

With NWE enabled, you'll see English text in the userbox, even though there's Ukrainian translation available. If you disable NWE and repeat the process using OWE, the preview will work like a charm.

Event Timeline

Deskana triaged this task as Medium priority.Jun 1 2017, 3:17 PM
Deskana moved this task from To Triage to TR3: Language support on the VisualEditor board.

Currently I don't think Parsoid respects user interface language for generating content, otherwise it would need to cache hundreds of versions of every page. Nothing that VE can do about this at the moment.