Dictionaries: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(→‎Installing manually: add note about shared profile)
(simplify, add spelling section)
Line 1: Line 1:
This article is about dictionaries that you can use to check spelling in Firefox and Thunderbird.
This article is about dictionaries used to check spelling in Firefox and Thunderbird. It applies to releases of these applications starting from 2.0. For information about dictionaries for Thunderbird releases before 2.0, see: [[Dictionaries - Thunderbird]]
It applies to releases of these applications starting from 2.0.
For information about dictionaries for Thunderbird releases before 2.0,
see: [[Dictionaries - Thunderbird]]
 
Install an extra dictionary when you want to be able to check spelling in an
extra language or in a regional variant of a language.


'''Notes:&nbsp;'''<br>
'''Notes:&nbsp;'''<br>
*If you download and install a localized build of [http://www.mozilla.com/firefox/all.html Firefox] or [http://www.mozilla.com/thunderbird/all.html Thunderbird], or a [[Language_packs|language pack]], then it might not include a spelling dictionary for the language.
* Localized builds of [http://www.mozilla.com/firefox/all.html Firefox] or [http://www.mozilla.com/thunderbird/all.html Thunderbird], or a [[Language_packs|language pack]], often do not not include a dictionary for the language.  You may need to install a dictionary for spell check to work.
*The spelling checker does not support all languages.
* The spelling checker does not support all languages.
* You can install an extra dictionary when you want to be able to check spelling in an extra language or in a regional variant of a language.
&nbsp;<p>


== Installing a dictionary ==
== Installing a dictionary ==
You can get dictionaries from any of the following sources.
Add-on dictionaries are easier to install than other dictionaries:


* Add-on: https://addons.mozilla.org/firefox/dictionaries or https://addons.mozilla.org/thunderbird/dictionaries (both links give you exactly the same dictionaries)
=== Sources ===
 
Add-on (extension) dictionaries are easier to install than other dictionaries.  Dictionaries area available from these locations:
 
* Add-on - Firefox: https://addons.mozilla.org/firefox/dictionaries  
* Add-on - Thunderbird: https://addons.mozilla.org/thunderbird/dictionaries
* Thunderbird: http://www.mozilla.com/en-US/thunderbird/dictionaries.html
* Thunderbird: http://www.mozilla.com/en-US/thunderbird/dictionaries.html
* mozdev: http://dictionaries.mozdev.org/installation.html
* mozdev: http://dictionaries.mozdev.org/installation.html
Line 21: Line 20:
* Any other dictionaries that you can find in [http://en.wikipedia.org/wiki/MySpell MySpell] format
* Any other dictionaries that you can find in [http://en.wikipedia.org/wiki/MySpell MySpell] format


=== Installing directly ===
=== Installing directly via Add-ons ===
This is the easiest method, but it only works for add-on dictionaries.


Use this method to install a dictionary in the current [[Profile folder|profile]].
Installing via Tools | Add-ons is the easiest method, but only works for add-on dictionaries.  Use this method to install a dictionary in the current [[Profile folder|profile]]. To install the dictionary in another profile, switch to that profile and repeat the procedure:
To install the dictionary in another profile, switch to that profile and repeat the procedure:


<ul>
'''Firefox:'''
'''Firefox:'''
# On the web page, click the link that points to the dictionary.
# On the web page, click the link that points to the dictionary.
Line 37: Line 35:
# When a Software Installation dialog opens, wait three seconds for the Install Now button to become enabled, then press it.  Thunderbird downloads the dictionary.
# When a Software Installation dialog opens, wait three seconds for the Install Now button to become enabled, then press it.  Thunderbird downloads the dictionary.
# When the download is complete, press the Restart Thunderbird button in the Add-ons window.  Thunderbird closes and restarts.
# When the download is complete, press the Restart Thunderbird button in the Add-ons window.  Thunderbird closes and restarts.
</ul>


=== Installing by downloading manually ===
=== Installing by downloading manually ===
This method only works for add-on dictionaries. Use it when you want to download the dictionary just once and install it in more than one profile.
This method only works for add-on dictionaries. Use it when you want to download the dictionary just once and install it in more than one profile.


To install the dictionary in another profile, switch to that profile and repeat the procedure from step 2.<ol><li>From the web page, get a context menu for the link that points to the dictionary
To install the dictionary in another profile, switch to that profile and repeat the procedure from step 2.
 
<ol><li>From the web page, get a context menu for the link that points to the dictionary
(for example, by right-clicking it).  From the context menu, choose Save Link As...
(for example, by right-clicking it).  From the context menu, choose Save Link As...
and choose where to save the downloaded file on your computer.
and choose where to save the downloaded file on your computer.
You can save it in a temporary directory or on your desktop.</li>
You can save it in a temporary directory or on your desktop.
 
</li>
<li>'''Firefox''' &mdash; either:
<li>'''Firefox''' &mdash; either:
* Use your mouse to drag the file that you downloaded and drop it in Firefox.
* Use your mouse to drag the file that you downloaded and drop it in Firefox.
Line 62: Line 66:


=== Installing by using an extension ===
=== Installing by using an extension ===
This method is only for Thunderbird. It works for all dictionaries. Use it to install a dictionary that is not packaged as an add-on, or when you want to make the dictionary available in all profiles.
 
This method is only for Thunderbird and works for all dictionaries. Use it to install a dictionary that is not packaged as an add-on, or when you want to make the dictionary available in all profiles.


First install the [http://journal.mozdev.org/dictfix.html Dictionary&nbsp;Fix] extension. To install dictionaries, follow the instructions on that linked page.
First install the [http://journal.mozdev.org/dictfix.html Dictionary&nbsp;Fix] extension. To install dictionaries, follow the instructions on that linked page.
Line 68: Line 73:
'''Note:&nbsp;''' You can use other extensions that work with add-ons to install add-on dictionaries in both Firefox and Thunderbird&mdash;for example: [http://www.mrtech.com/extensions/local_install/ MR Tech's Local Install]
'''Note:&nbsp;''' You can use other extensions that work with add-ons to install add-on dictionaries in both Firefox and Thunderbird&mdash;for example: [http://www.mrtech.com/extensions/local_install/ MR Tech's Local Install]


=== Installing manually ===
=== Installing manually to the application ===
This method works for all dictionaries. Use it to install a dictionary that is not packaged as an add-on, or when you want to make the dictionary available in all profiles.
 
This method works for all dictionaries. Use it to install a dictionary that is not packaged as an add-on, or when you want to make the dictionary available in '''all profiles'''.


This method installs the dictionary in the application itself, making it available in all profiles (but see the note below).
This method installs the dictionary in the application itself, making it available in all profiles (but see the note below).
Line 103: Line 109:
'''Note:&nbsp;''' In Thunderbird, the [http://journal.mozdev.org/dictfix.html Dictionary&nbsp;Fix] extension automatically fixes some common problems with dictionaries.
'''Note:&nbsp;''' In Thunderbird, the [http://journal.mozdev.org/dictfix.html Dictionary&nbsp;Fix] extension automatically fixes some common problems with dictionaries.


Some common problems with dictionaries are:
Common problems:


* A dictionary is not compatible with your version of the application. Either download a compatible version, or install the dictionary manually.
* Dictionary not compatible with your version of the application. Either download a compatible version, or install the dictionary manually.


* You did not close the application completely.  Choose File &ndash; Exit from the main menu bar to ensure that all the application's windows close.
* You did not close the application completely.  Choose File &ndash; Exit from the main menu bar to ensure that all the application's windows close.


Some less common problems are:
Less common problems:


* You installed a Thunderbird dictionary in Firefox by mistake.  Either download the Firefox dictionary, or install the Thunderbird dictionary manually.
* You installed a Thunderbird dictionary in Firefox by mistake.  Either download the Firefox dictionary, or install the Thunderbird dictionary manually.
Line 119: Line 125:
* You installed the application without removing an older version, and the application did not install correctly.  See the section ''Installing manually'' above.  At step 4, if the <tt>dictionaries</tt> directory is missing, then your installation failed.  Try creating the <tt>dictionaries</tt> directory manually.  You might be able to move dictionary files into it from the obsolete <tt>chrome/myspell</tt> directory, if it still exists.
* You installed the application without removing an older version, and the application did not install correctly.  See the section ''Installing manually'' above.  At step 4, if the <tt>dictionaries</tt> directory is missing, then your installation failed.  Try creating the <tt>dictionaries</tt> directory manually.  You might be able to move dictionary files into it from the obsolete <tt>chrome/myspell</tt> directory, if it still exists.


Some other problems related to spelling are:
Odd problems:


* The spelling checker sometimes finds strange words that you do not see in the message—for example, "msonormal". This happens when HTML is generated by a Microsoft product that inserts hidden text. If it happens when you write new messages, the hidden text is in your signature file. If it happens when you reply, the hidden text is in the original message.
* The spelling checker sometimes finds strange words that you do not see in the message—for example, "msonormal". This happens when HTML is generated by a Microsoft product that inserts hidden text. If it happens when you write new messages, the hidden text is in your signature file. If it happens when you reply, the hidden text is in the original message.


'''Note:&nbsp;''' The contents of dictionaries are not maintained by Mozilla. In some cases they are not maintained by anyone. If you think the contents of a dictionary should be updated, you might be able to find out who maintains it by looking in its README file (if it has one).  You can find the README file by using a zip tool or jar tool to open the dictionary's installation file.
== Spelling errors / Dictionary changes ==
 
The contents of dictionaries are not maintained by Mozilla. In some cases they are not maintained by anyone. If you think the contents of a dictionary should be updated, you might be able to find out who maintains it by looking in its README file (if it has one).  You can find the README file by using a zip tool or jar tool to open the dictionary's installation file.  .xpi files can be opened in windows explorer by first changing the .xpi extension to .zip
 
Until a spelling error is fixed by the maintainer, you can add what you consider to be valid words to your personal dictionary.


== Personal dictionary ==
== Personal dictionary ==
Your personal dictionary is stored in the file [[persdict.dat]] in your [[Profile folder|profile folder]]. It is simply a list of words in plain text format.
 
Your personal dictionary is stored in the file [[persdict.dat]] in your [[Profile folder|profile folder]]. It is simply a list of words in plain text format that you added via the spell checker or by importing.


You can import a list of words from somewhere else by replacing this file, or you can copy this file to use it in a different profile.
You can import a list of words from somewhere else by replacing this file, or you can copy this file to use it in a different profile.


[[Category:Configuration]]
[[Category:Configuration]]

Revision as of 18:12, 13 November 2007

This article is about dictionaries used to check spelling in Firefox and Thunderbird. It applies to releases of these applications starting from 2.0. For information about dictionaries for Thunderbird releases before 2.0, see: Dictionaries - Thunderbird

Notes: 

  • Localized builds of Firefox or Thunderbird, or a language pack, often do not not include a dictionary for the language. You may need to install a dictionary for spell check to work.
  • The spelling checker does not support all languages.
  • You can install an extra dictionary when you want to be able to check spelling in an extra language or in a regional variant of a language.

 

Installing a dictionary

Sources

Add-on (extension) dictionaries are easier to install than other dictionaries. Dictionaries area available from these locations:

Installing directly via Add-ons

Installing via Tools | Add-ons is the easiest method, but only works for add-on dictionaries. Use this method to install a dictionary in the current profile. To install the dictionary in another profile, switch to that profile and repeat the procedure:

    Firefox:
    1. On the web page, click the link that points to the dictionary.
    2. When a Software Installation dialog opens, wait three seconds for the Install Now button to become enabled, then press it. Firefox downloads the dictionary.
    3. When the download is complete, press the Restart Firefox button in the Add-ons window. Firefox closes and restarts.
    Thunderbird:
    On the web page, do not click the link that points to the dictionary.
    1. In Thunderbird, choose Tools – Add-ons. Thunderbird's Add-ons window opens.
    2. From the web page, drag the link that points to the dictionary and drop it in Thunderbird's Add-ons window.
    3. When a Software Installation dialog opens, wait three seconds for the Install Now button to become enabled, then press it. Thunderbird downloads the dictionary.
    4. When the download is complete, press the Restart Thunderbird button in the Add-ons window. Thunderbird closes and restarts.

Installing by downloading manually

This method only works for add-on dictionaries. Use it when you want to download the dictionary just once and install it in more than one profile.

To install the dictionary in another profile, switch to that profile and repeat the procedure from step 2.

  1. From the web page, get a context menu for the link that points to the dictionary (for example, by right-clicking it). From the context menu, choose Save Link As... and choose where to save the downloaded file on your computer. You can save it in a temporary directory or on your desktop.
  2. Firefox — either:
    • Use your mouse to drag the file that you downloaded and drop it in Firefox.
    or:
    • From the Firefox's menu bar, choose File – Open File..., then choose the file that you downloaded.
    Thunderbird:
    a. From Thunderbird's menu bar, choose Tools – Add-ons. Thunderbird's Add-ons window opens.
  3. b. Either:
    • Drag the file that you downloaded and drop it in Thunderbird's Add-ons window.
    or:
    • Press the Install... button and select the file that you downloaded.
  4. When a Software Installation dialog opens, wait three seconds for the Install Now button to become enabled, then press it. The application installs the dictionary.
  5. Press the Restart Firefox or Restart Thunderbird button in the Add-ons window. The application closes and restarts.
  6. Optionally delete the file that you downloaded.

Installing by using an extension

This method is only for Thunderbird and works for all dictionaries. Use it to install a dictionary that is not packaged as an add-on, or when you want to make the dictionary available in all profiles.

First install the Dictionary Fix extension. To install dictionaries, follow the instructions on that linked page.

Note:  You can use other extensions that work with add-ons to install add-on dictionaries in both Firefox and Thunderbird—for example: MR Tech's Local Install

Installing manually to the application

This method works for all dictionaries. Use it to install a dictionary that is not packaged as an add-on, or when you want to make the dictionary available in all profiles.

This method installs the dictionary in the application itself, making it available in all profiles (but see the note below).

At step 5 you usually need a program to open the downloaded file. You can use any zip tool or jar tool—for example: 7-Zip

  1. From the web page, get a context menu for the link that points to the dictionary (for example, by right-clicking it). From the context menu, choose Save Link As... and choose where to save the downloaded file on your computer. You can save it in a temporary directory or on your desktop.
  2. From the menu bar in the application's main window, choose File – Exit. The application closes.
  3. Go to the application's installation directory. (You can often find it by looking at the properties of the shortcut or launcher icon that you use to start the application.)
  4. Go to the dictionaries directory there. (If this directory does not exist, just create it at the same level as the components directory)
  5. Use a zip or jar tool to open the file that you downloaded. (If the file extension is .xpi, then some zip tools require you to rename it .zip first.)
  6. Store the .dic, .aff and README- files in the dictionaries directory.
  7. If the .dic and .aff files you stored do not have names like xx-XX.xxx or just xx.xxx, rename them. (For example, rename en_US.aff as en-US.aff or just en.aff.)
  8. Restart the application.
  9. Optionally delete the file that you downloaded.

Note:  To install a dictionary manually in a particular profile, at step 3 go to the profile directory. Then at step 4, create the dictionaries directory, if necessary, at the same level as the extensions directory. You might want to do this, for example, if the profile is shared by more than one installation of Thunderbird.

Uninstalling a dictionary

To uninstall a dictionary that you installed as an add-on:

  1. Choose Tools – Add-ons.
  2. Select the dictionary.
  3. Press the dictionary's Uninstall button, then confirm the uninstall.
  4. Restart the application.

To uninstall a dictionary that you installed manually:

  1. Delete the files that you installed.
  2. Restart the application.

Troubleshooting

Note:  In Thunderbird, the Dictionary Fix extension automatically fixes some common problems with dictionaries.

Common problems:

  • Dictionary not compatible with your version of the application. Either download a compatible version, or install the dictionary manually.
  • You did not close the application completely. Choose File – Exit from the main menu bar to ensure that all the application's windows close.

Less common problems:

  • You installed a Thunderbird dictionary in Firefox by mistake. Either download the Firefox dictionary, or install the Thunderbird dictionary manually.
  • Users do not have permission to read manually-installed dictionary files. On a multiuser system, ensure that all users have read access to the files specified in the Installing manually section above. For example, on a Unix system use chmod to set these files' permissions to 644.
  • The dictionary is faulty. Try a dictionary from another source.
  • You installed the application without removing an older version, and the application did not install correctly. See the section Installing manually above. At step 4, if the dictionaries directory is missing, then your installation failed. Try creating the dictionaries directory manually. You might be able to move dictionary files into it from the obsolete chrome/myspell directory, if it still exists.

Odd problems:

  • The spelling checker sometimes finds strange words that you do not see in the message—for example, "msonormal". This happens when HTML is generated by a Microsoft product that inserts hidden text. If it happens when you write new messages, the hidden text is in your signature file. If it happens when you reply, the hidden text is in the original message.

Spelling errors / Dictionary changes

The contents of dictionaries are not maintained by Mozilla. In some cases they are not maintained by anyone. If you think the contents of a dictionary should be updated, you might be able to find out who maintains it by looking in its README file (if it has one). You can find the README file by using a zip tool or jar tool to open the dictionary's installation file. .xpi files can be opened in windows explorer by first changing the .xpi extension to .zip

Until a spelling error is fixed by the maintainer, you can add what you consider to be valid words to your personal dictionary.

Personal dictionary

Your personal dictionary is stored in the file persdict.dat in your profile folder. It is simply a list of words in plain text format that you added via the spell checker or by importing.

You can import a list of words from somewhere else by replacing this file, or you can copy this file to use it in a different profile.