$99 VS $1000+. UI Control for ASP.NET AJAX(contains chart and gridview).
Spell Checker Control for Windows Forms
Perform multilingual spell checking for rich or standard text editors in Windows Forms applications
Home > WinForms UI Controls > User Manual > Localize SpellChecker Control in C#

Localization of KetticSpellChecker control in C#.NET

KetticSpellChecker control supports the localization as any other Kettic UI WinForms controls. With the localization support, the developers can easily display the text and message of this control in a specific language and deliver their applications globally. In this C# tutorial, we are going through how to localize the KetticSpellChecker control in C# Windows Forms application.

Tutorial on Localizing KetticSpellChecker control in C#.NET

  • Create a new project or open an existing one in your C# Windows Form application
  • Use the namespace, Kettic.WinForms.UI.Localization, which include the complete localizing C# classes
  • Create a descendant of the C# class KetticSpellCheckerLocalizationProvider in your .NET project
  • Override the GetLocalizedString() method, and then provide a translation for the messages
  • When translation message was not offered, this method will return the default value
  • Call to the base GetLocalizedString method in the default clause of the switch statement to guarantee the behavior
  • Implement a custom localization provider with the C# code below

class MyEnglishSpellCheckerLocalizationProvider : KetticSpellCheckerLocalizationProvider
public override string GetLocalizedString(string id)
switch (id)
case KetticSpellCheckerStringId.Title:
return "Spell Checking";
case KetticSpellCheckerStringId.OK:
return "OK";
case KetticSpellCheckerStringId.Cancel:
return "Cancel";
case KetticSpellCheckerStringId.AddToDictionary:
return "Add to Dictionary";
case KetticSpellCheckerStringId.IngoreAll:
return "Ignore All";
case KetticSpellCheckerStringId.Suggestions:
return "Suggestions:";

return null;
  • After the implementation of the custom localization provider, we can apply it through instantiating and assigning it to the current localization provider. The following C# code shows how to achieve this.

KetticSpellCheckerLocalizationProvider.CurrentProvider = new MyEnglishSpellCheckerLocalizationProvider();
UI Controlsfor Windows Forms
.NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI Design
WinForms UI Controls