Spell Check

From GnuCash
Jump to: navigation, search
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

Backends
Basic spellcheckers
  • GNU Aspell is one of many spellchecker. Dictionaries for many languages exist.
  • Ispell was the anchestor of aspell
Frontends
can use several backends
  • 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.
  • Hunspell
Doc type specific
Codespell
for program code
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