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
Hello Andrei,
You can translate the UI for the WebSpellCheckerDialog by translating the strings.resx file distributed with our source code, and then recompiling the assembly.
Step 1: Download the source code for ASP.NET from here.
Step 2: Find a folder similar to Infragistics.WebUI/WebSpellChecker.
Step 3: Copy the Strings.resx file in there, and rename it to Strings.fr.resx.
Step 4: Translate the rows in the Strings.fr.resx file that begin with WebSpellCheckerDialog_.
Step 5: Add the Strings.fr.resx file to the WebSpellChecker project (whichever CLR you are using).
Step 6: Rebuild the project, and use the rebuilt assembly in your application
The French button captions should appear whenever the application is run on a French OS. You can also simply translate the strings.resx file and rebuild, but then you'll lose the English button captions forever. Or you could hardcode the culture of the thread for your application.
There is a document on how to localize the WebDataGrid in this forum post, and the same steps should be applicable to other controls, if you want a full walkthrough.
Let me know if you have any other questions.
Elizabeth AlbertLocalization Engineer
Hi ElizabethI am trying to localize spell checker by following the steps outlined above but getting the following two errors when i reference new webspellchecker dll from infragistics projects
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'
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'
Need urgent help.
Regards
Hi Elizabeth,
I recompiled the DLL but now I cannot usi it anymore. See error message below.
Parser Error Message: Could not load file or assembly 'Infragistics2.WebUI.WebSpellChecker.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Andrei