How to localize

SpiceLogic WinForms HTML Editor showing localized toolbar and dialogs via the Language property and EditorLanguage enum

The modern way to localize the editor UI is the Language property. Set it once and the editor automatically translates every built-in toolbar tooltip, every dialog (Hyperlink, Image, Table, Find & Replace, Spell Check, etc.), every context-menu item, and the spell-check language hint to the chosen culture. No per-label override code is required.

Setting the Language property

Visual Studio designer property browser setting the Language property of the SpiceLogic WinForms HTML Editor to EditorLanguage.German

The Language property is of type EditorLanguage (an enum living in SpiceLogic.HtmlEditor.Resources.Localization). Assign it from code or set it in the Visual Studio designer property browser.

using SpiceLogic.HtmlEditor.Resources.Localization;



// Switch the entire editor UI to German.

editor.Language = EditorLanguage.German;

Supported EditorLanguage values

EditorLanguage enum dropdown listing supported localization cultures for the SpiceLogic WinForms HTML Editor Language property

The enum currently ships with the following members. Each maps to a .NET culture code and to a matching bundled spell-check dictionary.

EnglishUsEnglish (United States) — default (en-US)
EnglishGbEnglish (Great Britain) (en-GB)
GermanGerman (de-DE)
DutchDutch (nl-NL)
FrenchFrench (fr-FR)
SpanishSpanish (es-ES)
ItalianItalian (it-IT)
DanishDanish (da-DK)
PolishPolish (pl-PL)
NorwegianNorwegian Bokmål (nb-NO)
CzechCzech (cs-CZ)
SwedishSwedish (sv-SE)
PortugueseBrPortuguese (Brazil) (pt-BR)
PortuguesePtPortuguese (Portugal) (pt-PT)

Spell-check language

SpiceLogic WinForms HTML Editor spell-check language automatically following the Language property localization with SameAsEditorLanguage

By default the spell checker follows the editor language — SpellCheckOptions.SpellCheckLanguage is set to SpellCheckLanguage.SameAsEditorLanguage, so changing Language automatically selects the matching bundled Hunspell dictionary. Set SpellCheckLanguage explicitly only when you want the spell checker to use a different language than the UI.

using SpiceLogic.HtmlEditor.Abstractions.Entities.SpellCheck;



// German UI, but spell-check the body text in French.

editor.Language = EditorLanguage.German;

editor.SpellCheckOptions.SpellCheckLanguage = SpellCheckLanguage.French;

Custom override (languages the enum does not cover)

Custom per-element localization override for SpiceLogic WinForms HTML Editor toolbar tooltips when EditorLanguage enum lacks the target culture

If you need a culture that is not in the EditorLanguage enum, or you only want to retranslate a handful of strings, fall back to the per-element override approach the editor has always supported:

These hooks remain fully supported and can be combined with the Language property — the per-element override always wins over the bundled translation, so you can ship in (say) German and patch a few specific tooltips with your own wording.

Last updated on May 14, 2026