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+help@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
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.