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

Description

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.

Restricted Application added subscribers: Base, Aklapper. · View Herald TranscriptMay 31 2017, 7:30 PM
Restricted Application added a project: VisualEditor. · View Herald TranscriptMay 31 2017, 7:31 PM
Deskana triaged this task as Normal priority.

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.