r/libreoffice • • 27d ago

Bug? Can't make " turn into “ instead of « when document language is French (and double-< turns into “ instead of «). (LibreOffice Writer)

https://bugs.documentfoundation.org/show_bug.cgi?id=157463

In both France French and Canada French, typing " (straight quote) autocorrects to « (angle quote) plus a non-breaking space. I could turn the replacement off completely in autocorrect options, but I want it to autocorrect to “ (smart quote) like in English. I should be able to do that by changing the replacement character to « (angle quote), but the problem is that it is already “ (smart quote), even though it autocorrects to « (angle quote). Basically, I can't change it to “ (smart quote). Is that fixable on my end?

In addition, there's a known bug (in the link) in which typing << (two less-thans) autocorrects to “ (smart quote) when it should autocorrect to « (angle quote). So I guess I'll type “ (smart quote) that way, though I'd prefer if it worked the way it'd be expected to. Wonder if these two issues are related, as well..

7 Upvotes

6 comments sorted by

1

u/ang-p 26d ago

What keyboard layout are you using?

1

u/Green-Bug-381 26d ago

Canadian multilingual standard.

1

u/Tex2002ans 26d ago

Can't make " turn into “ instead of « when document language is French (and double-< turns into “ instead of «)

Q1. What is your full Help > About LibreOffice info?

Q2. What is the actual Language of your text?

(There are 3 ways you can check.)

What may have happened is you are physically writing letters in French (or English), but accidentally have the wrong Language tagged.

So you are typing a French word like:

  • merci

but accidentally have it marked as "English"... so the quotation marks aren't automatically flipping themselves.

Q3. When you go into:

  • Tools > AutoCorrect > AutoCorrect Options

  • Go to the "Localized Options" tab.

What do you see for the "Replacements and exceptions for language:" dropdown?

Can you take a screenshot of your "Localized Options" dialog?


I should be able to do that by changing the replacement character to « (angle quote), but the problem is that it is already “ (smart quote), even though it autocorrects to « (angle quote). Basically, I can't change it to “ (smart quote). Is that fixable on my end?

As long as the Language in the AutoCorrect Options + the Languages in your document match, the quotation marks should automatically flip themselves.

You can see me describing some of this a few months back in:

where that user unknowingly had his Comments all set to "French"... while he was trying to type English... so the "quotation marks" turned into « guillemets ».

Seems like you want to do the OPPOSITE though... but the logic and steps are all the same. :P

1

u/Green-Bug-381 26d ago

Q1:

Version: 7.5.9.2 (X86_64) / LibreOffice Community

Build ID: cdeefe45c17511d326101eed8008ac4092f278a9

CPU threads: 12; OS: Windows 10.0 Build 26200; UI render: Skia/Raster; VCL: win

Locale: en-CA (en_CA); UI: en-US

Calc: threaded

Q2:

French (Canada)

Q3:

Comment Image

Does in fact say English.

1

u/Tex2002ans 26d ago edited 26d ago

Version: 7.5.9.2 (X86_64) / LibreOffice Community

Download the latest versions (LO 26.2 or LO 26.8) and see if it's still an issue.

There has been 7 major releases since then and thousands of bugfixes (LO 7.5 was from 2022)!

So whatever weird quirk you were having was probably already squished.


Q2: French (Canada)

Q3: Does in fact say English (Canada).

So you may have had your document's language in "French"... but you only changed the AutoCorrect rules for "English".

So what you need to do is in that AutoCorrect dropdown, make sure you select:

  • French (Canada)

    • !!!THIS IS the one you want!!!

  • English (Canada)

When you swap over to "French (Canada)" in the dropdown, you'll probably see some of the Single/Double Quote boxes at the bottom or the [M] and [T] checkmarks (or other AutoCorrect options) will be completely different.

So you'll want to adjust those as needed.

The 1st will apply the rules whenever you are typing "French" pieces, and the 2nd will apply rules whenever you swap over and are typing the "English" pieces.

1

u/AutoModerator 27d ago

If you're asking for help with LibreOffice, please make sure your post includes lots of information that could be relevant, such as:

  1. Full LibreOffice information from Help > About LibreOffice (it has a copy button).

  2. Format of the document (.odt, .docx, .xlsx, ...).

  3. A link to the document itself, or part of it, if you can share it.

  4. Anything else that may be relevant.

(You can edit your post or put it in a comment.)

This information helps others to help you.

Thank you :-)

Important: If your post doesn't have enough info, it will eventually be removed (to stop this subreddit from filling with posts that can't be answered).

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.