Bug 132300 - Abbreviations :XX: for autocorrection do not work in French
Summary: Abbreviations :XX: for autocorrection do not work in French
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Localization (show other bugs)
Version:
(earliest affected)
6.3.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2020-04-21 14:28 UTC by Silvain Dupertuis
Modified: 2020-04-28 08:55 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silvain Dupertuis 2020-04-21 14:28:39 UTC
Description:
In French, typography rules add a non-breaking space before so-called double-punctuation signs (!?:;). Consequently, autocorrection abbreviations like 
:1/2: to produce ½ do not work, because the space is inserted before the treatment of the abbreviation.
Work around: I replaced these abbreviation using a comma as the ending character in the DocumentList.xml file within the archive file acor_fr-CH.dat in the configuration folder, autocorr subfolder - for me, it is
/home/<my-user-name>/.config/libreoffice/4/user/autocorr/

Steps to Reproduce:
1. Open Writer, document using French and autocorrection on
2. Type :1/2:<spaceY


Actual Results:
3. It produces :1/2<non-breaking-space>: )

Expected Results:
It should procude a ½ character


Reproducible: Always


User Profile Reset: No



Additional Info:
This is just a collision between the choice of a system of abbreviations in autocorrection and the rules of French typography.
Comment 1 Julien Nabet 2020-04-22 08:26:06 UTC
You can also remove the unbreakable space after having typed the second ":" then if you type enter, the replace will be made.
Comment 2 Mike Kaganski 2020-04-22 11:16:00 UTC
So the problem seems to be the order of the replacements? I feel it would be logical to do them in the opposite order - would it break something?