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 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
The new assembly has to be signed and put in the GAC. This forum post has good instructions on how to do that. The .zip file contains a Word document with step by step directions. Just substitute the CLR (2), the version (10.3), and the language you are using (fr).