Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Configuring aspell on Mac OS X.

Configuring aspell on Mac OS X

From MoodleDocs
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This procedure should get aspell up and running on Mac OS X:

  • Install the Xcode Tools from your OS X DVD or from Apple's developer site. (See MacPorts wiki: http://trac.macosforge.org/projects/macports/wiki). On the Tiger DVD, this is the XCodeTools.mpkg file located in the XCode Tools folder. Earlier versions of OS X may have this on a separate disc.
  • Install MacPorts from http://www.macports.org/ if you don't already have it (MacPorts is a package system for configuring and installing Unix software on OS X).
  • Open a terminal window and enter:
sudo port install aspell
  • When prompted, enter the administrator password. This will download, build, and install the aspell package. It may take quite some time to run, so don't lose patience.
  • Next, enter:
sudo port install aspell-dict-en
  • The above example installs the English dictionary (en). There are several others available. If you want to install one of those, replace aspell-dict-en with the appropriate file name.
  • In your Moodle installation, go to Administration/Configuration/Editor settings. In the "aspellpath" field, enter:
/opt/local/bin/aspell
  • Click "Save changes"
  • You should be now able to set "editorspelling" to Yes. Make sure the second field (the dictionary) is set to "en" for English (or the abbreviation for whatever other language you installed).
  • Click Save changes again. That's it. :-)
  • The spell check button should now appear in the WYSIWYG HTML editor anywhere it's used in Moodle.

See Also

Spell Check