Adding items to Autocorrection file

Hi All

some users asked to add some autocorrection items for the Italian version.

How could we do that?

Thanks and regards,

Hi Valter,

Hi All

some users asked to add some autocorrection items for the Italian version.

How could we do that?

You can add lines to xml files here:
http://opengrok.libreoffice.org/xref/core/extras/source/autotext/lang/it/acor/
Then you can send a patch. Alternatively you can file a bug.

Best regards,
Andras

In data domenica 7 aprile 2013 21:02:35, hai scritto:

Hi Valter,

> Hi All
>
> some users asked to add some autocorrection items for the Italian version.
>
> How could we do that?

You can add lines to xml files here:
http://opengrok.libreoffice.org/xref/core/extras/source/autotext/lang/it/aco
r/ Then you can send a patch. Alternatively you can file a bug.

Many thanks Andras!

Ciao

Hi Andras

The link above seems disappeared. Where can I find now the xml files?

Thanks and regards,

On the issue of autocorrection, I have a different question. I'm trying to alter the behaviour of smart single quotes in LO. In Gaelic, single quotes are almost never used as punctuation because their main function is as word characters e.g.
a' d' t' etc
and because this would land you with 'a'' when using single quotes, this is almost never done and people uses double quotes mostly "a'"

Problem arise when automatically turning these into smart quotes. Not the double, “” are always fine but turning ' > ’ creates problems because this is interpreted by LO (not just LO, most use the default "English" settings) as an opening single quote and turns this into a right curling quote ‘

Unfortunately, this single quote can occur at the beginning of words too e.g.
'gam 'gad 'ga
but when using formatted quotes, this must be a LEFT curling quote i.e.
’gam ’gad
but with the default behaviour, one ends up with
‘gam ‘gad

I guess this is a bit like the 'okina issue in Hawaiian, though I'm not sure if this has been fixed in LO.

Does anyone have any ideas how this could be fixed so
- the default smart quote conversion is always to left curling for gd-GB (unless the user manually inserts a right curling quote via the character chart or ALT+0145)
- this does not end up as a conflict between autocorrect and some system setting

Cheers

Michael

Hi Michael,

Not sure if you have already figured this out, but if not, then here's a
pointer:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=51fc602184ab8d1afbfb183a3d25b1122c8b1e29

Best regards,
Mihkel

Ahhh you're a star :slight_smile: What's the best way of doing that, do I file a normal bug or do I need to contact Eike directly?

Michael

Sgrìobh Mihkel Tõnnov na leanas 15/05/2016 aig 15:21:

I contacted him directly with a patch prepared and asked if he could commit
it (which he did).

Br, Mihkel