bloc
Robbiblubber.Localization.BuilderCreate locale definitions from the command line. bloc writes .locale files with a key, name, icons and optional base locale, using arguments or interactive mode.
Robbiblubber.Localization.NETOne application, several languages. Localization connects texts and locale definitions to your code and includes the tools to create and maintain the files. For your own applications, with direct WinForms integration.
Robbiblubber.Localization.BuilderCreate locale definitions from the command line. bloc writes .locale files with a key, name, icons and optional base locale, using arguments or interactive mode.
Robbiblubber.Localization.EditorTranslations need a place to work. Localization Editor creates and edits language tables and locale definitions, with multiple document windows, search, import and a text editor for longer content.
The libraries are available as separate NuGet packages. Install the building blocks your project needs.
Look up texts by stable symbols, switch languages at runtime and maintain translations separately from your program. Locale definitions and language tables come from files, embedded resources or custom sources.
using Robbiblubber.Localization;
Locale.Current = Locale.Locales["de"];
string save = "app:mw.save".LookUp("Save");
string info = "app:mw.saved".LookUp(
"$NAME has been saved.", ("NAME", "report.csv"));Provide the locale files in the application directory, select a locale and look up texts with defaults and placeholders.
dotnet add package Robbiblubber.LocalizationLocalize WinForms interfaces without replacing their controls. Designer components connect texts, tooltips and accessible labels to language tables. A repository sample shows the integration.
using Robbiblubber.Localization.Controls;
LocaleProvider locales = new(components)
{
ContainerControl = this,
AutoUpdate = true
};
locales.SetLocaleSymbol(saveButton, "app:mw.save");
locales.Localize();Inside a WinForms form after InitializeComponent(), with an existing components container and saveButton. The same mappings can be set in the designer.
dotnet add package Robbiblubber.Localization.ControlsThe .NET libraries are distributed through NuGet. Tools and libraries remain grouped in their suites and collections.
View all projects