Difference between revisions of "Spell Check"

From GnuCash
Jump to: navigation, search
(first draft)
(No difference)

Revision as of 20:39, 8 June 2021

Note
This is a first draft.

Typos are annoying –especially if the textx are the source for translation. To avoid typos you can run a spellchecker over both:

Documentation
Code
Messages
Comments

If your preferred editor has none integrated try the instructions here.

Basics

  • GNU Aspell is one of many spellchecker. Dictionaries for many languages exist.
  • Enchant (software)Enchant is a free software project developed as part of the AbiWord word processor with the aim of unifying access to the various existing spell-checker software.
Docs
Program 'xml_spellcheck' is present in package 'perl-XML-Twig'
LANG=${LL} xml_spellcheck ${PART}/${LL}/gnucash-${PART}.xml
like
LANG=C xml_spellcheck help/C/gnucash-help.xml
Without further parameters the page layout gets lost, you need to run xmllint again.
Parameters
--spellchecker <spellchecker>; default "aspell -c"
--pretty_print <optional_pretty_print_style> as defined in XML::Twig