Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Spellcheck Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jony639
Newbie
Newbie


Joined: 03 September 2008
Location: Spain
Online Status: Offline
Posts: 13
Posted: 18 November 2008 at 3:01am | IP Logged Quote jony639

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 View jony639's Profile Search for other posts by jony639
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6092
Posted: 18 November 2008 at 5:16am | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide