|
Using Spellcheck in NeoOffice
From NeoWiki
N.B. This article covers the steps required to activate writing tools in NeoOffice 3.0 Early Access and later; for the steps to use in NeoOffice 2.x, see Activating Dictionaries and Configuring Spellcheck in NeoOffice 2.x instead.
NeoOffice will correctly configure your preferences to use the language tools (spell check, thesaurus, etc.) for the language that is set as the default in the System Preferences when you launch NeoOffice, provided you have the appropriate writing tools installed.
Note that all the writing tools (dictionary, thesaurus, hyphenation) may not be available for all languages; some languages may have only one (usually the dictionary), and some may not have any tools at all.
If you want the NeoOffice user interface (and in some cases the Help) to be in your native language, you must install the appropriate language pack separately; see Changing the Language of the User Interface for more information.
Contents |
Activating the Writing Tools for Your Preferred Language
NeoOffice 3.x will automatically use the native Mac OS X spelling dictionaries if they match the language of the text to be checked. See Issues with Locale Variants of Languages below for more details.
Note for users of non-US or non-UK English (and possibly other languages with regional variants)
The language tools system in NeoOffice 3.x does not map other English variants to the US or UK English tools; you must install the dictionary, etc., for your language to have working writing tools.
Enabling Writing Tools for Additional Languages
To install and activate writing tools for additional languages in NeoOffice, simply repeat the steps in the previous section for any additional languages you wish to use.
Disabling Writing Aids for Languages that aren't Needed
- Under the NeoOffice menu choose Preferences.
- In the dialog that appears, doulbe click on Language Settings
- Cllick on Writing Aids
- In the panel that appears, highlight (but don't uncheck) NeoOffice Mac OS X Spellcheck with Hunspell and click the Edit button to the right of the this item.
- In the dialog that appears, select a language from the drop down list and uncheck NeoOffice Mac OS X Spellcheck with Hunspell.
- Repeat this step for all languages that you want to disable and click Close when you are finished.
- To save your changes, click OK and the dialog will close.
"Exporting" the Word List from a User Dictionary
When spellchecking a document, you have the option of adding unrecognized words to a user dictionary. The default user dictionary is standard.dic. If you want to export these words, you can do so as follows:
- Locate the dictionary file. It can be found at the following path ~/Library/Preferences/NeoOffice-2.2/user/wordbook/standard.dic where ~ is your home folder.
- Copy this file to the desktop or another location
- Edit the name of this file (the copy) so that the extension reads .txt
- Open this txt file in NeoOffice. (if asked which filter to use, chose UTF)
- You will see a list of words separated by # characters. You can use a global search and replace to format the file as you need to.
- You may also need to remove some hard page returns.
does NeoOffice read the Mac OS X user dictionary, or just regular dictionaries? DictEdit
Troubleshooting
Sometimes this process gets convoluted; there is a trinity thread that attempts to walk through troubleshooting why language (and thus dictionary) settings "don't stick" sometimes.
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 autospell check is not working in a .doc file, there are two options:
- Select the entire text of the document;
- Cntrl 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
is this relevant/the same for 3.x? if not, move to the 2.x page
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 OS X spellchecking services?
- Is "ab_CD" provided as a OpenOffice Hunspell dictionary?
- Is "ab" available with the 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 achieve this in 3.x
See this thread in trinity for more details about this issue and for potential interaction with CocoASpell.
Changing the language of the NeoOffice user interface
NeoOffice uses the topmost language in the list in the International pane of the System Preferences to determine the interface language. For details on using an interface language other than the one specified in the System Preferences, consult Changing the Language of the User Interface.