Page MenuHomePhabricator

New lines and diff not displayed in Visual Editor compared to old editor
Open, Needs TriagePublic

Description

Hi all

I work in translatewiki.net and I translate using old editor and visual editor.

  • the original text to translate is: "# Fetch received by \"%s\", forwarding to cluster host.\n",

See: https://phabricator.wikimedia.org/source/phabricator/browse/wmf%252Fstable/src/applications/diffusion/ssh/DiffusionGitUploadPackSSHWorkflow.php$30

  • when I use the old editor, and I request to show the differences, the delta is a new line added by the developper (I guess the backslash n in the source text)
  • I decide to use the new Visual Editor; i'm disapointed because there is no diff option there
  • the message I see has no new line so there would be nothing to translate (but I know there is one difference)
  • should I use the \<br\> ? i dont know.

Questions:

  1. is is possible to have a diff option (as in old editor) ?
  1. why the backslash n set by the developper are not rendered in Visual Editor ?

Event Timeline

Wladek92 created this task.Jan 17 2019, 1:40 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 17 2019, 1:40 PM

Can you clarify what do you mean with old editor? From my point of view the only fully-featured translation interface is Special:Translate (which has the handy "link to this message" option so that we can quickly see what you are seeing).

is is possible to have a diff option (as in old editor) ?

The only supported translation interface is Special:Translate. This is what your photo is above.

why the backslash n set by the developper are not rendered in Visual Editor ?

There is no Visual Editor extension on translatewiki.net so I am still unsure what you mean with that.