Ephox EditLive! for XML can be configured to use different spell checkers so that it can be used in different countries and regions. The specification of the spell checker to use with EditLive! for XML is performed via the EditLive! for XML configuration file.
Users can also add words to the local dictionary. These customizations to the EditLive! for XML dictionary are particular to a single client as the customizations are preserved on the client. To customize the dictionary on the server please refer to the article on Creating Custom Dictionaries for EditLive! for XML.
The spell checkers for EditLive! for XML for different languages are each packaged as separate files. In order to configure EditLive! for XML to use a spell checker the program must be informed of the location of the relevant spell checking package, this occurs via the EditLive! for XML configuration. The <spellCheck> element of the EditLive! for XML configuration provides EditLive! for XML with the location of the spell checker package which it is to use. The location is specified as a URL which can be either relative or absolute.
Dictionaries for the EditLive! for XML spell checker can be found in the webfolder/redistributables/editlivexml/dictionaries folder of your EditLive! for XML install. In order to use these dictionaries with EditLive! for XML the <spellCheck>element of the EditLive! for XML configuration should be modified to reflect the location of the dictionary to be used.
The file name of the .jar file for the spell checker dictionary for use with EditLive! for XML must use all lower case letters.
Users can also add words to the dictionary which are then stored locally on the client. Any words added to the local dictionary by users will persist on the client even when the dictionary is updated on the server. Words are added to the local dictionary when a user clicks the Add Word option on the spell checker.
The following example demonstrates how to configure EditLive! for XML to use the United States English spell checking package as its spell checker. In this example the relevant package can be found via the URL redistributables/editlivexml/dictionaries/en_us_3_0.jar. This example is a partial EditLive! for XML configuration document.
<editLive> ... <spellCheck jar="redistributables/editlivexml/dictionaries/en_us_3_0.jar" /> ... </editLive>
English (US)
English (UK)
Brazilian Portuguese
Danish
Dutch
Finnish
French - European and Canadian
German
Italian
Norwegian
Portuguese (Iberian)
Spanish - European, Mexican and South American
Swedish
The spell checker for EditLive! for XML can be configured according to the language which you wish to use with EditLive! for XML. Each spell checker for EditLive! for XML is provided as an individual package separate from the EditLive! for XML applet package. In order to specify the spell checker to be used with EditLive! for XML the XML configuration for the relevant instance of EditLive! for XML must include a URL indicating the spell checking package in the <spellCheck>element.
Copyright 2001-2004 Ephox Corporation. All Rights Reserved.