Skip to content

More relevant smartquotes for French #5952

Closed

Description

@MDLC01

Description

In French from France (and maybe other regions as well), single guillemets are never used. The only used quotes are the guillemets (« and »), double quotation marks (“ and ”), and rarely single quotation marks (‘ and ’). I suggest we change the main (i.e., non-alternative) single smartquotes for French to “ and ”.

There is the question of whether it makes sense to have single smartquotes map to double quotation marks. I'm not sure, but it feels more useful than mapping them to an essentially useless character.

Additionally, I'm not sure whether single guillemets are used in other regions. In Switzerland, single guillemets are used as second-level guillemets. Otherwise, it seems that single guillemets are not used.1

Use Case

Easier access to double quotation marks in French.

Footnotes

  1. https://fr.wikipedia.org/wiki/Guillemet#Double_ou_triple_niveau_de_citation (french) ↩

Activity

  1. added
    change request
    text
    on Feb 24, 2025
  2. MDLC01 commented on Feb 24, 2025

    @MDLC01
    CollaboratorAuthor

    For reference, here are the default smartquotes for Switz French (which this proposal wouldn't change):

    "fr" if matches!(region, Some("CH")) => match alternative {
    false => ("‹\u{202F}", "\u{202F}›", "«\u{202F}", "\u{202F}»"),
    true => default,
    },

    And for other regions:

    "fr" | "ru" if alternative => default,
    "fr" => ("‹\u{00A0}", "\u{00A0}›", "«\u{00A0}", "\u{00A0}»"),

  3. gdonval commented on Feb 26, 2025

    @gdonval

    One thing is absolutely sure here: you need to change 00A0 => 202F on l.241 there... You want narrow no-break space in "other" French (as well as CA and CH).

    As for the change, it's a bit bold but does make a lot of sense. I'm of the opinion that French quote use should be encouraged (because it is the convention) so double quotes should map to that, like it does almost everywhere else (including Word).

    As for single quote,

    • I've never actually seen single French quotes outside of Switzerland so really I don't see that being useful at all (for non-CH): that needs to go.
    • Single (English or French) quotes are generally frowned upon in FR French at least. And convention says that if you want to differentiate, double English quotes are acceptable.

    I think the only complaint that it may raise is people not understanding why single quotes outputs what double quotes already are on their keyboard, to which I would answer with "the point is to differentiate, which it does... plus smart quotes for a document can be changed or disabled, please do so if you are not happy with the default mapping: we only follow conventions so that our defaults are useful to the greatest number".

  4. sijow commented on Feb 28, 2025

    @sijow
    Contributor

    Linking (rather brief) relevant discussion: #4992

  5. gdonval commented on Feb 28, 2025

    @gdonval

    I noticed the very same thing (I have that book), especially about them saying one thing and using another, leading me to believe it was a "typo". :) I'd always been under the impression that it was the same as before ?!; and that, just like for these, that we see full spaces because typewriters and people don't know better.

    Practically, a non-breaking narrow space is a bit easier on the line breaking algorithm and, IMHO, helps a lot with visual association whilst being common practice widely used by editors:

    Image

    That being said, that's only a default and I'm really not shocked by full spaces actually. I think that either line above is quite lovely (with a preference for some space).

  6. elegaanz commented on Mar 4, 2025

    @elegaanz
    Member

    My two cents on this issue:

    I think that to decide what is the best solution here depends on what behavior we want smart quotes to have:

    • if we consider their role is to make some common quote characters easier to type on a standard keyboard, then having " map to double guillemets, and ' to double English quotes makes sense. As said above, the only issue with that is that it could be confusing to have single quotes map to double quotes.
    • if we give some semantics to quotes ("double quote are for top level citations, single quotes delimit nested citations, regardless of the language and the region"), then the proposed change also makes sense as explained in the Wikipedia article linked in the original message. The benefit of this option is that it gives an explanation to why single quotes map to double quotes. However, I would personally have used nested double guillemets to delimit nested citations instead of English quotes (for example: « L’ouvreuse m’a dit : « Donnez-moi votre ticket. » Je le lui ai donné. ») and it seems to me that this convention is more common, so I would argue that is should be the default.
    • the current implementation only makes sense if we want smart quotes to provide a way to easily type some quote characters that are relevant to the current language and region, but not at the cost of looking too different from the input character, which is a bit contrived in my opinion, so it should definitely be changed.

    If it is decided that single smart quotes should always be used for inner smart quotes (second option), this behavior should be documented to not confuse the users too much. We should also check that other languages provide the correct mapping according to their typographic rules. Also, this syntax would be very confusing if some language uses single quotes for outer citations and double quotes for nested ones.

    If we map both kind of smart quotes to double guillemets, we should also take into account that the imprimerie nationale apparently recommends to include only one closing double guillemet in case the outer citation ends with the inner citation (in other words, make the guillemet unbalanced), so if we follow their recommendations we should implement custom logic for that. We can also ignore that and have two closing double guillemets, but I think this choice is less common.

    TL;DR: I mostly agree with the proposed changes, but I wonder if we maybe the default shouldn't be to have everything map to double guillemets?

  7. MDLC01 commented on Mar 4, 2025

    @MDLC01
    CollaboratorAuthor

    Related: #1194.

  8. OverflowCat commented on Mar 5, 2025

    @OverflowCat
    Contributor
    FYI CSS (at lease Chrome) uses <q>a <q>b</q> c</q> for English, and <span lang="fr"><q>a <q>b/q> c</q> </span> for French.

    FYI CSS (at lease Chrome) uses a b c for English, and a b c for French.

    You can inspect the source of the above paragraph.

    in zh-CN “‘’” are used in formal writing; but on the Internet sometimes「『』」 are preferred. The iOS keyboard defaulted to the latter rather than the former before iOS 7. We never type ' or ", perhaps it's because with smart quotes, we'd actually need to switch to the English mode to type regular ' and " characters. I’m not sure what is most convenient for French users when typing, and I hope the default settings won’t be overly English- or QWERTY-US-Layout-centric.

  9. gdonval commented on Mar 14, 2025

    @gdonval

    However, I would personally have used nested double guillemets to delimit nested citations

    That seems to be the traditional proper way. In the Imprimerie Nationale book, they basically say that English double quotes are tolerated when a distinction must be made. But in principle, you can always write "a "b" c" and get that transformed to what you want, keeping the distinction opt-in (i.e. if you really wish to distinguish, you do "a 'b' c").

    I feel like making both of them collapse to the same thing (whilst not shocking and definitely proper) would be a bit of a shame since English double quotes are still extensively used in informal FR French (and formal FR, sometimes).

    I agree about documentation.

    FYI CSS (at lease Chrome)

    IDK what it looks like on Chrome but on Firefox, the two levels are identical (double) guillemets (which is valid), but no space.

    At any rate, FR French does not widely use single guillemets so that should be replaced. The alternatives are guillemets, single quotes and double quotes. My opinion is that guillemets are already covered, single quotes are not a thing in current FR publications (and actually pose a few problems with pattern matching like in my 'good ol' shoe'), so double quotes are the only obvious choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    change requesttext

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions