Skip to content
perpetualKid edited this page Aug 15, 2026 · 7 revisions

GetText.NET Wiki

GetText.NET is a .NET cross-platform implementation of the GNU Gettext library, originally based on NGettext. GetText.NET supports string interpolation and FormattableString.
GetText.NET.Extractor extracts string values from C# source code in GetText.ICatalog method calls to Get*String(), and also Windows.Forms.Control and WPF element properties showing text, such as .Text, .HeaderText, .ToolTip or .Content. Translations are loaded directly from gettext *.mo files. Multiple translation domains and multiple locales can be loaded in one application instance. There is no need to compile satellite assemblies. GetText.NET supports both little-endian and big-endian MO files, automatic (header-based) encoding detection and (optional) plural form rules parsing.

Getting started with standard scenarions for GetText localization

The GetText catalog interface.

Provides localization support for text properties of Windows Forms controls

Provides localization support for text properties of WPF elements

GetText.NET.Extractor helps to extract literal string values from C# source code, similar to xgettext from GNU gettext tools.

Clone this wiki locally