Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
165
Changing UI language
posted

Hi,

How can I change a language of the UI in the WebSpellChecker?
I can change the dictionary to French for example, but all action buttons ("Change","Ignore", etc.) are still in English.

Thanks,
Andrei

Parents Reply
  • 435
    posted in reply to Elizabeth Albert

    Hi

    All references are set properly and everything working fine with English spellchecker, problems occur only when I try to add webspellchecker with translation to my project’s bin folder. I have tried doing that in number of ways but no success.

    I first tried the method described in the following link

    http://community.infragistics.com/forums/p/52124/327829.aspx#327829

     

    , i.e. by modifying infragistics WebspellChecker project code and copied the newly created dll in my bin. My project did not compiled giving the following 2 errors

    Error      1              The type 'Infragistics.WebUI.Shared.IUltraLicensedComponent' is defined in an assembly that is not referenced. You must add a reference to assembly 'Infragistics4.WebUI.Shared.v11.1, Version=11.1.20111.2135, Culture=neutral, PublicKeyToken=3282e95eecef1e03'.

     

    Error      2              The type 'Infragistics.WebUI.WebControls.SmartWebControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'Infragistics4.WebUI.Shared.v11.1, Version=11.1.20111.2135, Culture=neutral, PublicKeyToken=3282e95eecef1e03'.

     

     

    Looking at the errors above I noticed that it is trying to refer to WebUI.shared with public token key ‘3282e95eecef1e03’, whereas WebUI.Shared present in my computer is with public token key “7DD5C3163F2CD0CB”. So, I  modified the infragistics WebspellChecker project by referring it to my WebUI.Shared i.e with public token key “7DD5C3163F2CD0CB” and then recompilied it. Add this newly created Webspellchecker dll to my project, my project compiled properly with no error. But when I try to run my page got the following error.

    Parser Error Message: The base class includes the field 'WebSpellChecker1', but its type (Infragistics.WebUI.WebSpellChecker.WebSpellChecker) is not compatible with the type of control (Infragistics.WebUI.WebSpellChecker.WebSpellChecker).

     

    Then tried the method as described in the following http://blogs.infragistics.com/forums/t/24594.aspx

    i.e. by modifying the dll and creating resource dll files. When i did that it gave me some “assesmbly tampering error” so after doing some research I Just resigned the assemly with command:"sn -k keys.snk". Project compiled and running fine after that with no errors but web spell chekcer does not  get translated it is still in english.

     

    Any help woud be highly appreciated.

Children