Bug 92029 - should prevent autocorrecting into opening quote when typing 's or 't in Dutch
Summary: should prevent autocorrecting into opening quote when typing 's or 't in Dutch
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Linguistic (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoCorrect-Complete
  Show dependency treegraph
 
Reported: 2015-06-12 09:51 UTC by Pierre François
Modified: 2020-09-28 08:18 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 Pierre François 2015-06-12 09:51:53 UTC
In Dutch (in Belgium as in the Netherlands), when you type "'s" or "'t" in sentences like: "Ik ben 's morgens opgestaan", the apostrophe is changed into an opening quote by the autocorrect feature, which is incorrect and requires a manual correction.

There are two cases possible:

a) The buggy behaviour happens when Tools > AutoCorrect Options... > Localized Options > Single Quotes > Enabled is checked.

This behaviour can be corrected by editing the file DocumentList.xml contained in the ZIP containers as explained below:

/usr/lib/libreoffice/share/autocorr/acor_nl-BE.dat
/usr/lib/libreoffice/share/autocorr/acor_nl-NL.dat

b) When the Single Quotes > Enabled option above is not checked, there is no buggy behaviour, but it is still recommended to autocorrect the introduction of the U+0027 character (apostrophe) into the U+02BC character, for aesthetical reasons.

So two rules must be added for "'s" and two for "'t", in order the changes to work in both cases, a) and b).

Therefor, the changes I suggest for the DocumentList.xml file inside the ZIP containers mentioned above consist in adding four "block-list:block" nodes on the right place into it with next content:

<block-list:block block-list:abbreviated-name="&apos;s" block-list:name="ʼs"/><block-list:block block-list:abbreviated-name="&apos;t" block-list:name="ʼt"/><block-list:block block-list:abbreviated-name="‘s" block-list:name="’s"/><block-list:block block-list:abbreviated-name="‘t" block-list:name="’t"/>
Comment 1 Buovjaga 2015-06-13 14:24:19 UTC
Sounds like a reasonable suggestion -> NEW.