On 2011-08-19 12:30, Andras Timar wrote:
Hi Milos,

2011.08.14. 10:32 keltezéssel, Milos Sramek írta:
Hi,

How can one add new (language specific) autocorrect rules?
(Tools->Autocorrect options.../Localized options)

Different languages have different rules (for example, single letter
words in Slovak must not stay at the end of a line, which seems to be OK
in English) and it would be nice to have an option to specify them.
Currently, just two such rules exist, one for English and One for French.
AutoCorrect rules are implemented in
http://opengrok.libreoffice.org/xref/core/editeng/source/misc/svxacorr.cxx
I doubt however, that your problem (single letter
words in Slovak must not stay at the end of a line) can be solved by
AutoCorrect rules.
We maintain our Afrikaans autocorrect rules as part of our spell checkers:
http://zaf.svn.sourceforge.net/viewvc/zaf/trunk/dict/af/acor/

Then use this script to process the CSV files into the XML:
http://zaf.svn.sourceforge.net/viewvc/zaf/trunk/dict/utils/csv2acor.py?revision=10098&view=markup

Again, this won't solve your specific problem, but it might be a guide to others wanting to make AutoCorrect files for their languages.

Best regards,
Andras




--
regards
Dwayne


--
Unsubscribe instructions: E-mail to l10n+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/l10n/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to