Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

Netspell - Slovenian lang.

Last post 01-15-2009, 11:08 AM by Adam. 5 replies.
Sort Posts: Previous Next
  •  01-10-2009, 6:16 AM 47622

    Netspell - Slovenian lang.

    I cant set Netspell to check Slovenian language (I put Slov. dic in Bin folder). If I try to put CustomCulture="sl-SI" I get an Netspell error: 
     
    Message: System.Exception: Unhandled Error: ---> System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at NetSpell.SpellChecker.Dictionary.Affix.AffixUtility.EncodeConditions(String conditionText, AffixEntry entry) at NetSpell.SpellChecker.Dictionary.WordDictionary.Initialize() at ASP.PopUpSpell.Page_Init(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Page.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.PopUpSpell.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
     
    Is it possible to have English UI and Netspell checking  Slovenian lan. ?
  •  01-12-2009, 9:33 AM 47648 in reply to 47622

    Re: Netspell - Slovenian lang.

    Open CuteSoft_Client\CuteEditor\SpellCheck.aspx file and modify the following code:
     
    // check if a dictionary exists for the culture, if so load it
                 string cultureDictionary = String.Concat (culture, ".dic");
        if (File.Exists (folderName +"\\"+ cultureDictionary))
        {   
        this.WordDictionary.DictionaryFile = cultureDictionary;
        }
        else
        {
         this.WordDictionary.DictionaryFile = "en-US.dic";
        }

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-12-2009, 1:59 PM 47665 in reply to 47648

    Re: Netspell - Slovenian lang.

    Thanks Adam, but it doesn't work. I change web.config back and I put sl-SI.dic in SpellCheck.aspx file.
     
    I still ger an error:
    AssemblyVersion: 04.09.00
    RawURL: /Providers/HtmlEditorProviders/CEHtmlEditorProvider/CuteSoft_Client/CuteEditor/SpellCheck.aspx?Culture=sl
    AbsoluteURL: /Providers/HtmlEditorProviders/CEHtmlEditorProvider/CuteSoft_Client/CuteEditor/SpellCheck.aspx
    AbsoluteURLReferrer: http://bajka.si/Providers/HtmlEditorProviders/CEHtmlEditorProvider/CuteSoft_Client/CuteEditor/SpellCheck.aspx?Culture=sl&Modal=true
    UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; sl; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 (.NET CLR 3.5.30729)
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: 467180f0-e638-44ee-9e83-cbb59a00d14a
    InnerException: Unhandled Error:
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: NetSpell.SpellChecker.Dictionary.Affix.AffixUtility.EncodeConditions
    StackTrace:
    Message: System.Exception: Unhandled Error: ---> System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at NetSpell.SpellChecker.Dictionary.Affix.AffixUtility.EncodeConditions(String conditionText, AffixEntry entry) at NetSpell.SpellChecker.Dictionary.WordDictionary.Initialize() at ASP.PopUpSpell.Page_Init(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Page.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.PopUpSpell.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---

  •  01-12-2009, 2:15 PM 47667 in reply to 47665

    Re: Netspell - Slovenian lang.

    // check if a dictionary exists for the culture, if so load it
                 string cultureDictionary = String.Concat (culture, ".dic");
                 if (File.Exists (folderName +""""+ cultureDictionary))
                 {    
                    this.WordDictionary.DictionaryFile = "sl-SI.dic";
                 }
                 else
                 {
                     this.WordDictionary.DictionaryFile = "en-US.dic";
                 }
     
    In this case is no error, but only english spellchecker ?!
     
    Regards,
    Igor
  •  01-15-2009, 6:39 AM 47765 in reply to 47667

    Re: Netspell - Slovenian lang.

    Any solution please ?
     
    Regards,
    Igor
  •  01-15-2009, 11:08 AM 47790 in reply to 47667

    Re: Netspell - Slovenian lang.

    Step 1: Copy sl-SI.dic to the project bin folder.
     
    Step 2:
     
    Change the above code to:
     
     this.WordDictionary.DictionaryFile = "sl-SI.dic";

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.