|
Using Spellcheck in NeoOffice
From NeoWiki
Revision as of 22:14, 24 July 2006 (edit) Sardisson (Talk | contribs) (→Known Sources of Third-Party Dictionaries - not just lots, tons!) ← Previous diff |
Revision as of 15:22, 25 July 2006 (edit) (undo) Sardisson (Talk | contribs) (complete the fork) Next diff → |
||
Line 1: | Line 1: | ||
+ | '''''N.B.''' This article covers the steps required to activate writing tools in '''NeoOffice 2.0 Alpha and later'''; for the steps to use in '''NeoOffice 1.2.2 and earlier''', see [[Activating Dictionaries in NeoOffice 1.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. | 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. | ||
Line 12: | Line 14: | ||
Because the writing tools authors and their communities are always updating these tools, you should run the Dictionary Wizard even if your language's writing tools were pre-installed (or if you upgraded from NeoOffice 1.x). | Because the writing tools authors and their communities are always updating these tools, you should run the Dictionary Wizard even if your language's writing tools were pre-installed (or if you upgraded from NeoOffice 1.x). | ||
- | + | ===Note for users of non-US or non-UK English (and possibly other languages with regional variants)=== | |
The new language tools system in NeoOffice 2.0 no longer maps other English variants to the US or UK English tools; you must install the dictionary, etc., for your language to have working writing tools. If you upgraded from NeoOffice 1.x, your list of installed writing tools was preserved and may now be incorrect and cause problems. You can safely delete <tt>~/Library/Preferences/NeoOffice-2.x/user/wordbook/dictionary.lst</tt> to fix potential problems. | The new language tools system in NeoOffice 2.0 no longer maps other English variants to the US or UK English tools; you must install the dictionary, etc., for your language to have working writing tools. If you upgraded from NeoOffice 1.x, your list of installed writing tools was preserved and may now be incorrect and cause problems. You can safely delete <tt>~/Library/Preferences/NeoOffice-2.x/user/wordbook/dictionary.lst</tt> to fix potential problems. | ||
- | + | ===Installing Third-Party Dictionaries=== | |
Due to licensing problems and other issues, there may be dictionaries for some languages that are not available via the dictionary wizard. If you find a dictionary for your language in either Hunspell (preferred) or MySpell format, it is possible to use this dictionary with NeoOffice. | Due to licensing problems and other issues, there may be dictionaries for some languages that are not available via the dictionary wizard. If you find a dictionary for your language in either Hunspell (preferred) or MySpell format, it is possible to use this dictionary with NeoOffice. | ||
Line 35: | Line 37: | ||
:See the [http://lingucomponent.openoffice.org/manual_instal.html OpenOffice.org manual installation instructions] for more information. | :See the [http://lingucomponent.openoffice.org/manual_instal.html OpenOffice.org manual installation instructions] for more information. | ||
- | + | ====Known Sources of Third-Party Dictionaries==== | |
* [ftp://foolab.org/pub/software/arspell/ Foolab]: Arabic (عربي) [early version, only 71,000 words] | * [ftp://foolab.org/pub/software/arspell/ Foolab]: Arabic (عربي) [early version, only 71,000 words] | ||
* [http://www.ivrix.org.il/projects/arabic/ Ivrix Project]: Arabic (عربي) [very large list, based on Buckwalter but converted by a non-Arabic speaker; reported to be slow and consume 200 MB of RAM] | * [http://www.ivrix.org.il/projects/arabic/ Ivrix Project]: Arabic (عربي) [very large list, based on Buckwalter but converted by a non-Arabic speaker; reported to be slow and consume 200 MB of RAM] | ||
* [http://hunspell.sourceforge.net/ Hunspell SourceForge Project]: Amharic (አማáˆáŠ›), Azerbaijani (AzÉ™rbaycanca), Bengali (বাংলা), Kashubian (Kaszëbsczi), Persian (Ùارسی), Hindi (हिंदी), Mongolian (Монгол), Marathi (मराठी), Oriya (ଓଡ଼ିଆ), Punjabi (ਪੰਜਾਬੀ), Tamil (தமிழà¯), Uzbek (Ўзбекча), Vietnamese (Việt ngữ), | * [http://hunspell.sourceforge.net/ Hunspell SourceForge Project]: Amharic (አማáˆáŠ›), Azerbaijani (AzÉ™rbaycanca), Bengali (বাংলা), Kashubian (Kaszëbsczi), Persian (Ùارسی), Hindi (हिंदी), Mongolian (Монгол), Marathi (मराठी), Oriya (ଓଡ଼ିଆ), Punjabi (ਪੰਜਾਬੀ), Tamil (தமிழà¯), Uzbek (Ўзбекча), Vietnamese (Việt ngữ), | ||
- | |||
- | ===NeoOffice 1.2.2=== | ||
- | First, check to see if your language is one of the 12 shipped in the default NeoOffice install; if your language is not one of those 12, you need to download and install the appropriate [http://www.planamesa.com/neojava/olddownload.php#installlanguages language pack] in order to get the writing tools. | ||
- | |||
- | In order to active the writing tools for your preferred language, simply ensure that language is set as topmost one in the '''Languages:''' list in the '''Language''' tab of the '''International''' pane of the Mac OS X System Preferences before launching NeoOffice for the first time. | ||
- | |||
- | '''Note''' that some languages and local variants, such as Hungarian (Magyar) or Português do Brasil, '''do not appear in the Languages: list by default'''; you will have to press the "Edit…" button, check the desired language, and click "OK" before you will be able to move that language to the top of the list. | ||
- | |||
- | <div style="margin: 0 auto; margin-top: 0.75em; margin-bottom: 0.75em; border: 1px solid #006; background-color: #F0F0FF; text-align: left; width: auto; padding: 4px;">'''DO NOT''' use the Dictionary Autopilot (in the '''Autopilot''' submenu of the '''File''' menu) to add or enable writing tools in NeoOffice 1.2.2; doing so will install files that only work with OpenOffice.org 2.0 and which will cause NeoOffice 1.2.2 to crash when those writing tools are used. '''Only use''' the methods described on this page for adding and enabling writing tools.</div><!--why won't bluebox work here?--> | ||
==Enabling Writing Tools for Additional Languages== | ==Enabling Writing Tools for Additional Languages== | ||
To install and activate writing tools for additional languages in NeoOffice 2.0 Alpha, simply repeat the steps in the previous section for any additional languages you wish to use. | To install and activate writing tools for additional languages in NeoOffice 2.0 Alpha, simply repeat the steps in the previous section for any additional languages you wish to use. | ||
- | |||
- | ===NeoOffice 1.2.2=== | ||
- | NeoOffice does not activate all available dictionaries because of a '''crippling bug in the OpenOffice.org code''' which causes '''tremendous slowdowns when more than one or two dictionaries are activated'''. By default, NeoOffice uses only the dictionary for your default language. | ||
- | |||
- | If you desire to use writing tools for additional languages (''e.g.'', to work on a document in French and German), you can follow these steps to activate the writing tools for additional languages (again, provided you have the appropriate [http://www.planamesa.com/neojava/download.php#installlanguages language pack] installed for languages other than the 12 in the default NeoOffice install). ''If you use Norwegian (Nynorsk or Bokmål) and run a version of Mac OS X prior to 10.4, see the section [[#Norwegian and Mac OS X 10.3.x|Norwegian and Mac OS X 10.3.x]] below for additional required steps.'' | ||
- | |||
- | For each additional language whose writing tools you wish to enable, perform the following steps: | ||
- | # Install the appropriate [http://www.planamesa.com/neojava/download.php#installlanguages language pack], if necessary. | ||
- | # In the '''Language''' tab of the '''International''' pane of the Mac OS X System Preferences, set the language whose writing tools you wish to enable to be the topmost in the '''Languages:''' list. | ||
- | # Launch NeoOffice. | ||
- | #:NeoOffice will enable the writing tools for the language selected in step 2. | ||
- | # Quit NeoOffice. | ||
- | #: If you wish to enable writing tools for more languages, repeat steps 1-4 for each additional language. | ||
- | # Finally, in the '''Language''' tab of the '''International''' pane of the Mac OS X System Preferences, set the language you wish to use for the user interface in NeoOffice to be the topmost in the '''Languages:''' list (i.e., choose the language that was set as topmost before beginning this process). | ||
- | |||
- | If you have multiple users on the same Macintosh, you will need to repeat steps 2-5 for each user, as the list of enabled writing tools is set per-user (each language pack needs only to be installed once, though). | ||
==Selecting the Dictionary to be Used in a Document or Section== | ==Selecting the Dictionary to be Used in a Document or Section== | ||
Line 89: | Line 66: | ||
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]]. | 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]]. | ||
- | + | [[Category:Tips and Hints]][[Category:NeoOffice]] | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | [[Category:Tips and Hints]][[Category:NeoOffice | + |
Revision as of 15:22, 25 July 2006
N.B. This article covers the steps required to activate writing tools in NeoOffice 2.0 Alpha and later; for the steps to use in NeoOffice 1.2.2 and earlier, see Activating Dictionaries in NeoOffice 1.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.
Contents |
Activating the Writing Tools for Your Preferred Language
NeoOffice 2.0 ships with the same set of writing tools that the standard build of OpenOffice.org supplies (see the list below). Other writing tools can be downloaded and activated as described later in this section. In some cases, NeoOffice 2.0 can also use the tools you installed in NeoOffice 1.x.
US English, UK English, Austrian German, Swiss German, and German all have the dictionary, thesaurus, and hyphenation pre-installed in NeoOffice 2.0. Dictionaries for Hungarian (also hyphenation), Italian (also hyphenation), Dutch (also hyphenation), Swahili, and Thai, thesauruses for Czech and Slovak, and hyphenation for Danish and Russian are also included.
In NeoOffice 2.0 Alpha, the download and activation of writing tools uses the standard cross-platform OpenOffice.org Dictionary Wizard method. Choose Install new dictionaries… from the Wizards submenu of the File menu, then follow the steps in the wizard.
Because the writing tools authors and their communities are always updating these tools, you should run the Dictionary Wizard even if your language's writing tools were pre-installed (or if you upgraded from NeoOffice 1.x).
Note for users of non-US or non-UK English (and possibly other languages with regional variants)
The new language tools system in NeoOffice 2.0 no longer maps other English variants to the US or UK English tools; you must install the dictionary, etc., for your language to have working writing tools. If you upgraded from NeoOffice 1.x, your list of installed writing tools was preserved and may now be incorrect and cause problems. You can safely delete ~/Library/Preferences/NeoOffice-2.x/user/wordbook/dictionary.lst to fix potential problems.
Installing Third-Party Dictionaries
Due to licensing problems and other issues, there may be dictionaries for some languages that are not available via the dictionary wizard. If you find a dictionary for your language in either Hunspell (preferred) or MySpell format, it is possible to use this dictionary with NeoOffice.
To install the downloaded dictionary (in .zip format),
- Quit NeoOffice if it is running
- Copy the zip file into NeoOffice's share/dict/ooo folder
- cp foo.zip /Applications/NeoOffice.app/Contents/share/dict/ooo
- Unzip the dictionary
- unzip /Applications/NeoOffice.app/Contents/share/dict/ooo/foo.zip
- Add the new dictionary to the master dictionary.lst
- open -a TextEdit /Applications/NeoOffice.app/Contents/share/dict/ooo/dictionary.lst
- Add a new line at the end of the file, in the format: DICT ab CD foo_bar
- ab is the ISO language code for your locale, e.g. en for an English-speaking locale
- CD is the ISO country code for your locale, e.g. AU for Australia
- foo_bar is the "root name" of the .dic and .aff files, e.g. en_australia for our hypothetical en_australia.dic and en_australia.aff (you can find this name by watching the output of the unzip command in step 3 above)
- Save the modified dictionary.lst (making sure it remains plain text if you use TextEdit)
- Restart NeoOffice and enjoy your new dictionary!
- See the OpenOffice.org manual installation instructions for more information.
Known Sources of Third-Party Dictionaries
- Foolab: Arabic (عربي) [early version, only 71,000 words]
- Ivrix Project: Arabic (عربي) [very large list, based on Buckwalter but converted by a non-Arabic speaker; reported to be slow and consume 200 MB of RAM]
- Hunspell SourceForge Project: Amharic (አማáˆáŠ›), Azerbaijani (AzÉ™rbaycanca), Bengali (বাংলা), Kashubian (Kaszëbsczi), Persian (Ùارسی), Hindi (हिंदी), Mongolian (Монгол), Marathi (मराठी), Oriya (ଓଡ଼ିଆ), Punjabi (ਪੰਜਾਬੀ), Tamil (தமிழà¯), Uzbek (Ўзбекча), Vietnamese (Việt ngữ),
Enabling Writing Tools for Additional Languages
To install and activate writing tools for additional languages in NeoOffice 2.0 Alpha, simply repeat the steps in the previous section for any additional languages you wish to use.
Selecting the Dictionary to be Used in a Document or Section
If you have multiple languages and dictionaries enabled, you can control which dictionary is used in a document (or section thereof) by setting the appropriate preferences.
To set the language of an entire document, select Preferences… from the NeoOffice menu, then click the "plus in a box" next to Language Settings to expand that section. Next select the Languages item and set the "Default languages for documents" as desired (either for all new documents, or for the current document only with the appropriate checkbox).
To set the the language of a particular section of text, select the text and choose Character... from the Format menu; set the appropriate language via the appropriate Language box in the Font tab.
Be sure to set the language of the document and/or each section of text appropriately or spell-check will not work.
Automation
offers simple steps for constructing a macro to automate this process, for those who regularly use two or more languages. See this post on trinity for the steps.
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.
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.