Author |
|
jony639 Newbie
Joined: 03 September 2008 Location: Spain
Online Status: Offline Posts: 13
|
Posted: 18 November 2008 at 3:01am | IP Logged
|
|
|
Hello,
I´m interested on add the spanish support to the spellcheck. Could you give me the basic lines of the how to create the es-es.dic?
best regards,
Jonathan Gonzalez
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 18 November 2008 at 5:16am | IP Logged
|
|
|
WebMail Pro spellchecker uses dictionaries based on the OpenOffice Affix compression format. You can download necessary dictionaries here.
These dictionaries need to be converted. To convert them, you need to
download .NET Spell. Run NetSpell.DictionaryBuild.exe shipped with .NET Spell and follow
the instructions.
Once you got necessary dictionaries converted, you should integrate them to your WebMail Pro installation.
Open \WEB\spellcheck.aspx.cs file and locate Page_Init() method:
Code:
string dictionaryFile = "en-US.dic";
switch (defLang)
{
case "French": dictionaryFile = "fr-FR.dic"; break;
case "German": dictionaryFile = "de-DE.dic"; break;
} |
|
|
You should add similar "cases" for the dictionaries you converted.
WebMail Pro chooses dictionaries according to interface language set in user settings. In other words, if a user chose German user interface, de-DE.dic dictionary will be used.
We assume that you've already translated your WebMail Pro installation into Spanish accordingly to this topic of our forum.
Regards,
Igor
|
Back to Top |
|
|