Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: UK dictionary Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
AndyD
Newbie
Newbie
Avatar

Joined: 02 June 2011
Location: United Kingdom
Online Status: Offline
Posts: 9
Posted: 03 June 2011 at 4:58am | IP Logged Quote AndyD

I have tried to create a UK dictionary file following the information from this post: http://www.afterlogic.com/forum/forum_posts.asp?TID=2184

But I just can't get it to work. Has anyone managed to create a UK dictionary?
Back to Top View AndyD's Profile Search for other posts by AndyD
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 07 June 2011 at 3:01am | IP Logged Quote Igor

Do you mind explaining what exactly is the problem? Is this about creating a dictionary or using it in WebMail?

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
AndyD
Newbie
Newbie
Avatar

Joined: 02 June 2011
Location: United Kingdom
Online Status: Offline
Posts: 9
Posted: 09 June 2011 at 7:29am | IP Logged Quote AndyD

Sorry for the delayed reply:

It is the creation of the dictionary, I understand where to install it and which file to edit to make it the default.
When I try and create the .dic file it is incredibly small and causes an ASP (or .net) error when spell checking is actioned.

Andy.
Back to Top View AndyD's Profile Search for other posts by AndyD
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 10 June 2011 at 1:35am | IP Logged Quote Igor

Maybe you were doing it in some other way. The idea is to create new dictionary with NetSpell.DictionaryBuild.exe, and then use "Add OpenOffice Word list" and "Add OpenOffice Affix Data" tool there under "Dictionary" menu.

I have created UK dictionary, didn't test it though. Hope it'll work for you.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
AndyD
Newbie
Newbie
Avatar

Joined: 02 June 2011
Location: United Kingdom
Online Status: Offline
Posts: 9
Posted: 10 June 2011 at 2:32am | IP Logged Quote AndyD

Hi Igor,

thank you so much, I'll test it now...
Back to Top View AndyD's Profile Search for other posts by AndyD
 
AndyD
Newbie
Newbie
Avatar

Joined: 02 June 2011
Location: United Kingdom
Online Status: Offline
Posts: 9
Posted: 10 June 2011 at 3:39am | IP Logged Quote AndyD

Hi Igor,
I copied the en-UK.dic file into the App_Data\dictionary folder,

I then edited spellcheck.aspx.cs and replaced en-US.dic with en-UK.dic for the default dictionary. The spell check still used en-US.doc (I tested using the words "colour" and "color").

If I rename en-US.dic so it cannot be found I get .net framework error "Could not find file 'G:\Inetpub\webmail\App_Data\dictionary\en-US.dic'".
Which is a little confusing as it should be using the en-UK.dic file. This tells me that the default dictionary entry in spellcheck.aspx.cs is being ignored.

I also tried creating a language entry inspellcheck.aspx.cs for "English" but again it used the US dictionary.
Back to Top View AndyD's Profile Search for other posts by AndyD
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 10 June 2011 at 7:03am | IP Logged Quote Igor

I believe dictionary-related guidelines lack an important point: upon making changes to WebMail source code, especially when it comes to .cs files not located under App_Code, you need to recompile the product, changes won't be applied otherwise.

Recompilation can be done by either running compile.bat file found in root folder of WebMail, or using Visual Studio.

--
Regards,
Igor, AfterLogic Support
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