Language

Build 1501 on 14/Nov/2017  This topic last edited on: 6/Oct/2014, at 16:06

The Language property in the GlobalConfig contains the name of the spell-checker dictionary.

The Language property needs to exist in all <Spell...  nodes.

Remember to recycle the application pool after reloading the modified GlobalConfig.

The dictionary name can be:

A two characters code of a pre-defined list, corresponding to the dictionary files

Possible values are:

"xx": any, "am": English (U.S.), "br": English (U.K.), "ca": Catalan,

"cz": Czech, "da": Danish, "du": Dutch, "fi": Finnish,

"fr": French, "ge": German, "hu": Hungarian, "it": Italian,

"nb": Norvegian (Bokmal), "nn": Norvegian (Nynorsk), "pl": Polish, "pb": Portuguese (Brazil),

"po": Portuguese (Iberian), "ru": Russian, "sp": Spanish, "sw": Swedish

For example (GN3Sentry): 'br du', where exist the 'sscebr.tlx', 'sscebr2.clx', 'sscedu.tlx' and 'sscedu2.clx' Wintertree files.

The name of the .dic (dictionary) and .aff (affix) files in the DictionaryPath path.

  For example (GN4Hunspell): 'en_US fr', where exist the 'en_US.dic', 'en_US.aff', 'fr.dic' and 'fr.aff' MySpell files.

 <CSApi>

   <Spell Language="br" Library="gn3sentry.dll">

     <SpellOptKey Name="IgnoreMixedDigits" />

     <SpellOptKey Name="IgnoreAllCapsWord" />

     <SpellOptKey Name="ReportDoubledWord" />

     <SpellOptKey Name="ReportMixedDigits" />

     <SpellOptKey Name="ReportUncapped" />

     <SpellOptKey Name="SplitContractedWords" />

     <SpellOptKey Name="SuggestPhonetic" />

     <SpellOptKey Name="SuggestTypographical" />

   </Spell>

 

To be able to use the spell checker in a certain language, the lexicons for that language need to exist in the folder i.e. it is not enough to put a language code in the configuration.

IMPORTANT: To make these changes available to the GN4 users, after you saved the GLOBALCONFIG.XML file and imported it into the database, or after you modified it in EdAdmin4 and saved, recycle the GN4 application pools on all IIS servers and then make all users log out and log back in.