Closed Bug 1366580 Opened 9 years ago Closed 4 years ago

Strings should use directional quotation marks when possible

Categories

(Thunderbird :: General, enhancement)

54 Branch
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: u555946, Unassigned)

Details

Attachments

(3 files)

Attached image Quotation marks.png —
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 Build ID: 20170508114559 Steps to reproduce: Please refer to attached image: For the English locale: 1. Replace " (shown in red) with “ 2. Replace " (shown in green) with ” 3. Replace ' (shown in blue) with ’ Please apply changes to all strings where appropriate. More information is available here: https://github.com/jikamens/send-later/blob/master/TRANSLATING.md#quotation-marks Thank you
Big job, Richard, what's your opinion on this? Does FF use smart quotes?
Severity: normal → enhancement
Summary: Quotation marks → Change all quotation marks in the UI to smart quotes
We had this discussion before with bwinton, the "smart" quotes don't look good on Windows Classic desktop themes and may blend into each other, see bug 830177 attachment 736967 [details]. I don't know to which extent this applies to other/more current desktop themes or other platforms (also quite likely depends on the renderer and HWA settings). I tend to be conservative here.
Yeah, big job. And would this affect also all locales? I think yes. How do this other programs?
Attached image LocaleHu.png —
(In reply to Richard Marti (:Paenglab) from comment #3) > And would this affect also all locales? I think yes. I think not as magyar (Hungarian) already uses smart quotes.
(In reply to rsx11m from comment #2) > We had this discussion before with bwinton, the "smart" quotes don't look > good on Windows Classic desktop themes and may blend into each other, see > bug 830177 attachment 736967 [details]. I don't know to which extent this > applies to other/more current desktop themes or other platforms (also quite > likely depends on the renderer and HWA settings). I tend to be conservative > here. Windows 8.1 uses smart quotes.
(In reply to Richard Marti (:Paenglab) from comment #3) > Yeah, big job. And would this affect also all locales? I think yes. Assuming that all affected strings are localized, probably up to the localizers to make those changes. Re effort, you should be able to automate this to some extent with a script over all strings: - <non-char>&quot;<char> = opening quote - <char>&quot;<non-char> = closing quote - <char>'<char> or <char>'<non-char> = (closing) apostrophe Anyway, modified strings would still need verification after that, but might be a good starting point. This would also bitrot pending patches and require people to change their strings. > How do this other programs? More importantly: What about any strings coming from Toolkit? Styles should be consistent within the same application. (In reply to Óvári from comment #5) > Windows 8.1 uses smart quotes. No surprise, I think MS-Office products switch entered quotes to "smart" ones by default as well. For accessibility reasons, it needs to be clear enough on high-contrast themes with/without HWA.
When Thunderbird is used with the Lithuanian (lt) locale, it uses smart quotes. Opening the About dialog box has: „Thunderbird“ As Thunderbird already uses smart quotes for other locales, for consistency across Thunderbird, should smart quotes be used with the English (en) locales? Please advise if you would like a screenshot of the Thunderbird Lithuanian locale showing smart quotes. Thank you
(In reply to Richard Marti (:Paenglab) from comment #3) > Yeah, big job. And would this affect also all locales? I think yes. How do this other programs? Lithuanian and Hungarian already use directional quotation marks. From Mozilla documentation entitled "Localization content best practices": https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_content_best_practices --- Use Unicode characters over their ASCII counterparts when possible Strings should use directional quotation marks when possible. * U+2018 and U+2019 (\u2018 and \u2019 in JavaScript) are the left and right single quotation marks, respectively. The right single quotation mark should be used as an apostrophe. * U+201C and U+201D (\u201c and \u201d in JavaScript) are the left and right double quotation marks, respectively. The pair should be used to surround statements and references to user input. - Example: You have chosen a keyword that is currently in use by “%S”. Please select another. - Example: Search %1$S for “%2$S” Non-directional single, and double, quotation marks should be used in reference to HTML code, or other languages where ASCII character usage is required, such as HTML. /HTML does not prefer one over the other, and our codebase uses them interchangably as of March 2016./ * Example: This web page at <span id='malware_sitename'/> has been reported as an attack page and has been blocked based on your security preferences. U+2026 (\u2026) is the horizontal ellipsis character. This character should be used in place of three consecutive periods. --- Are you able to set the status to NEW? Thank you
Summary: Change all quotation marks in the UI to smart quotes → Strings should use directional quotation marks when possible

Sorry for the delay Óvári,

If I understand this thread, the issues is really a localization issue correct?

Is this still an issue in newer versions of TB?

Status: UNCONFIRMED → NEW
Component: Untriaged → General
Ever confirmed: true
Flags: needinfo?(ovari123)

Well, the idea is to use "smart" quotes in all our strings, so in the .dtd and .properties files. Like these one here:
https://searchfox.org/comm-central/search?q=%27&case=false&regexp=false&path=*.dtd
and more. FF have been using smart quotes of a while now.

(In reply to Benjamin Flanagin from comment #9)

Sorry for the delay Óvári,

Can you please provide a time frame when this will be fixed?

If I understand this thread, the issues is really a localization issue correct?

Yes, as it seems to be an English (en-*) localization (localisation) issue; however, it could also be an issue in other languages too as we have not done extensive testing.

Is this still an issue in newer versions of TB?

Yes

Flags: needinfo?(ovari123)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: