ASPSpellLink.dialogLanguage

This property is used to decide the language of the spell checking dialog.
The default value is defined in the settings file .

The possible values of ASPSpellLink.dialogLanguage are:

  • "EN" - For English
  • "ES" - For Spanish
  • "DE" - For German
  • "NL" - For Dutch
  • "FR" - For French
  • "IT" - For Italian
  • "PT" - For Portuguese
  • "NO" - For Norwegian
  • "SV" - For Swedish
  • "DK" - For Danish
  • "CUSTOM" - To set the dialog texts yourself.  This requires modifying the settings_customTextArray property in the settings file.

Note that changing the Dialog language does not automatically select the Dictionary Language used for spellchecking.  To choose a dictionary language(s), use the dictionary property.

ASP VBScript Source Code:

If you wanted to your spellchecker to display in French:

<!--#include virtual="/ASPSpellCheck/ASPSpellInclude.inc"-->

<textarea id="MyTextArea" name="MyTextArea" cols="30" rows="10" >
Hello World. Ths iza tezt sampl. 
</textarea>

<%
dim myLink
set myLink = new AspSpellLink
myLink.fields="MyTextArea"
myLink.dialogLanguage= "FR"
response.write myLink.imageButtonHTML("","","") 'renders a button
set myLink = nothing 'closes the class
%>
 

 spellchecker dialog