|
Troubleshooting Spellcheck
From NeoWiki
Revision as of 12:43, 15 March 2009 (edit) Lorinda (Talk | contribs) (→Issues with Locale Variants of Languages - add external links section) ← Previous diff |
Revision as of 00:28, 28 April 2009 (edit) (undo) Sardisson (Talk | contribs) (→Issues with Locale Variants of Languages - clarify why the fixme is there) Next diff → |
||
Line 72: | Line 72: | ||
When NeoOffice is not using the Mac OS X spellchecking services for language "ab" (because an "ab_CD" dictionary is part of the default install of NeoOffice), and the preferred behavior is to use the Mac OS X dictionary, a workaround is available by removing or commenting out the "ab_CD" line from the <tt>NeoOffice.app/Contents/share/dict/ooo/dictionary.lst</tt> file. | When NeoOffice is not using the Mac OS X spellchecking services for language "ab" (because an "ab_CD" dictionary is part of the default install of NeoOffice), and the preferred behavior is to use the Mac OS X dictionary, a workaround is available by removing or commenting out the "ab_CD" line from the <tt>NeoOffice.app/Contents/share/dict/ooo/dictionary.lst</tt> file. | ||
- | '''FIXME - how do we | + | '''FIXME - how do we perform this workaround in 3.x?''' |
See [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=5085&postdays=0&postorder=asc&start=0 this thread in trinity] for more details about this issue and for potential interaction with CocoASpell. | See [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=5085&postdays=0&postorder=asc&start=0 this thread in trinity] for more details about this issue and for potential interaction with CocoASpell. | ||
- | |||
==Related External Links== | ==Related External Links== |
Revision as of 00:28, 28 April 2009
Sometimes the process of troubleshooting spellcheck-related problems gets convoluted; there is a trinity thread that attempts to walk through troubleshooting why language (and thus dictionary) settings "don't stick" sometimes.
Contents |
No errors are found or the wrong words are marked incorrect
This usually indicates that the text has no language set or an incorrect language is set (perhaps a language for which you have no Mac OS X or OpenOffice.org dictionary). If you are sure you have a dictionary available for the language in which your text is written, (re)set the language in NeoOffice by either of the following methods:
- Select the entire text of the document.
- Ctrl- or right-click in the selection and choose Character from the contextual menu.
- Click on the Font tab and set the language drop-down to the correct language.
Or
- Go to the NeoOffice menu and choose Preferences
- Click on Language Settings and then Languages
- Set the Default Language for document to the correct language
- If necessary, check For the current document only
Auto-Spellcheck doesn't work in .doc Files
.doc files (from MS Word) often don't include a setting for the language of the document. If auto-spellcheck is not working in a .doc file, there are two options:
- Select the entire text of the document.
- Ctrl- or Right-Click in the selection and choose Character from the contextual menu.
- Click on the Font tab and set the language drop-down to the correct language.
Or
- Go to the NeoOffice menu and choose Preferences
- Click on Language Settings and then Languages
- Set the Default Language for document to the correct language
- If necessary, check For the current document only
If Autocorrect and Replacement Settings Don't Work
In this thread at trinity, Bill offers the following experience:
I installed Canadian English in my copy of NeoOffice 2.0 (patch 15) so that spell-checking would happen that way, and the autocorrect replace list and exceptions list stopped working.
There seemed to be no easy way to replicate the USA English versions of these lists, and typing them all in again (after selecting "English (Canada)" at the top of the autocorrect dialog) was way too tedious.
But I managed to populate these lists using this method.
Right-click on the NeoOffice application and choose "Show Package Contents". Navigate to "Contents/share/autocorr/". Find the "acor_en-US.dat" file - this apparently contatins the replace and exceptions lists.
In a new Finder window (just to make copying easier), navigate to "~/Library/Preferences/NeoOffice-2.x/user/autocorr/". If "acor_en-US.dat" exists in this folder, temporarily rename it. The "acor ..." files in this folder seem to contain additions you've made to the replace and exceptions lists.
Copy the "acor_en-US.dat" file from autocorr folder deep in the NeoOffice application to the autocorr folder deep in the Preferences folder. In the Preferences folder rename the copied file to "autocorr_en-CA.dat". If necessary, reset the name of the "autocorr_en-US.dat" file.
Launch NeoOffice, go to the AutoCorrection dialog, choose "English (Canada)" from the pop-up, and the lists will be there.
Choose a different file name if you're using an English variant other than Canadian, UK, or USA, and (I assume) you have installed that language in NeoOffice.
"Could Not Contact Spell Checker" Error Message
If you see this error while you are checking spelling (or while auto spell-checking is on), you may have encountered a conflict caused by third-party spelling services (either cocoAspell or Spell Catcher have been reported to cause this problem).
Some users have experienced success by upgrading their cocoAspell or Spell Catcher installations, or by removing the cocoAspell.service or Spell Catcher Services.service items from ~/Library/Services or /Library/Services. A reboot will be required after upgrading or upgrading the files.
Note: Be sure to only move the .service file, not delete it, in case the approach does not work for you.
If you still get the same error after doing the above steps, try doing the following steps:
- Move any /Library/Caches/com.apple.LaunchServices*.csstore files to the Trash but do not empty the Trash
- Reboot your machine
- Immediately empty the Trash
For more information, see this thread at trinity, this thread at trinity, or these three threads at Apple Discussions.
Issues with Locale Variants of Languages
NeoOffice looks for an available dictionary for the fictitious language "ab_CD" in the following places (and in that order):
- Is "ab_CD" available with the Mac OS X spellchecking services?
- Is "ab_CD" provided as a OpenOffice Hunspell dictionary?
- Is "ab" available with the Mac OS X spellchecking services?
When NeoOffice is not using the Mac OS X spellchecking services for language "ab" (because an "ab_CD" dictionary is part of the default install of NeoOffice), and the preferred behavior is to use the Mac OS X dictionary, a workaround is available by removing or commenting out the "ab_CD" line from the NeoOffice.app/Contents/share/dict/ooo/dictionary.lst file.
FIXME - how do we perform this workaround in 3.x?
See this thread in trinity for more details about this issue and for potential interaction with CocoASpell.
Related External Links
Step By Step Spellcheck Troubleshooting Guide for OpenOffice.org 3.0 At OpenOffice.org Community Forums