# Localization

## Content

All end user visible strings in ComponentOne SpellChecker for WinForms can be localized (translated). SpellChecker for WinForms localization is based on the same approach as the standard localization of .NET Windows Forms employed by the Localizable property.

Moreover, you can also specify the language used in the **Spell Dialog** by setting the <span data-popup-content="This class is available in both \u003ca href=\u0022/componentone/docs/win/online-spellchecker/\u0022\u003e.NET\u003c/a\u003e and \u003ca href=\u0022/componentone/docs/win/online-spellchecker/\u0022\u003e.NET Framework\u003c/a\u003e assemblies." data-popup-title="DialogLanguage" data-popup-theme="ui-tooltip-green qtip-green">DialogLanguage</span> property. For example, to set the language to **German** add the following code to your project:

```csharp
c1SpellChecker1.Options.DialogLanguage = DialogLanguage.German;
```

```vbnet
C1SpellChecker1.Options.DialogLanguage = DialogLanguage.German
```

Note that the dialog language does not affect spelling. To change the language used for spelling, use the <span data-popup-content="This class is available in both \u003ca href=\u0022/componentone/docs/win/online-spellchecker/\u0022\u003e.NET\u003c/a\u003e and \u003ca href=\u0022/componentone/docs/win/online-spellchecker/\u0022\u003e.NET Framework\u003c/a\u003e assemblies." data-popup-title="MainDictionary" data-popup-theme="ui-tooltip-green qtip-green">MainDictionary</span> property to select a different spelling dictionary. For example, the following code sets the main dictionary to **German**:

```csharp
c1SpellChecker1.MainDictionary.FileName = @"C:\Program Files (x86)\MESCIUS\ComponentOne\Dictionaries\C1Spell_de-DE.dct";
```

```vbnet
C1SpellChecker1.MainDictionary.FileName = "C:\Program Files (x86)\MESCIUS\ComponentOne\Dictionaries\C1Spell_de-DE.dct"
```