Page MenuHomePhabricator

Allow translators to distinguish between two single apostrophes '' (markup) vs. " quotation marks in strings to be translated
Open, Needs TriagePublic

Description

I often encounter this problem myself, and see that other editors do too. Say, you can see an English message which contains a variable written as ''$1''. In the Translate extension it is not clear what these ('') do represent: the very double quotation marks, or the markup to make a text italic. Thus, the translators often misinterpret those, and sometimes a text like this turns out to be a «text like this» (or vice versa) in the translation to a target language, or text like this turns out to be a «text like this».

A way to fix this would be to separate the single quotation marks more, so that it would be clear that they're meant to make the text italic.

EDIT: I've also uploaded a file for a reference (this is from a Meta-wiki page named "User groups", the original English message is in italic, but that's not obvious for someone using the Translate extension):

Event Timeline

Restricted Application added subscribers: Base, Aklapper. · View Herald TranscriptJan 13 2019, 5:15 PM
Piramidion updated the task description. (Show Details)Jan 13 2019, 5:25 PM
Piramidion updated the task description. (Show Details)

Interesting problem, thanks for reporting this! The font-family here (Firefox 64, Linux, on meta) is just defined as generic sans-serif coming from body:

Wondering if there are better fonts that allow differentiation that could be applied to a more specific area than body.

Aklapper renamed this task from Provide a way to better distinguish between the single quotation marks used for markup and the double quotation marks in the Translate extension to Allow translators to distinguish between two single apostrophes '' (markup) vs. " quotation marks in strings to be translated.Jan 13 2019, 5:39 PM

I'm using Chrome on Windows, and the inspector shows me the same - font-family is sans-serif, coming from body (the sans-serif coming from html is stroke out for some reason - idk if this matters, I'm not a coder)

jhsoby added a subscriber: jhsoby.Feb 8 2019, 1:44 PM