Transable.Sdk.Wpf 0.1.0-preview.2

Prefix Reserved
This is a prerelease version of Transable.Sdk.Wpf.
dotnet add package Transable.Sdk.Wpf --version 0.1.0-preview.2
                    
NuGet\Install-Package Transable.Sdk.Wpf -Version 0.1.0-preview.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Transable.Sdk.Wpf" Version="0.1.0-preview.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Transable.Sdk.Wpf" Version="0.1.0-preview.2" />
                    
Directory.Packages.props
<PackageReference Include="Transable.Sdk.Wpf" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Transable.Sdk.Wpf --version 0.1.0-preview.2
                    
#r "nuget: Transable.Sdk.Wpf, 0.1.0-preview.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Transable.Sdk.Wpf@0.1.0-preview.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Transable.Sdk.Wpf&version=0.1.0-preview.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Transable.Sdk.Wpf&version=0.1.0-preview.2&prerelease
                    
Install as a Cake Tool

Transable.Sdk.Wpf

One line of code makes your WPF app multilingual — automatic UI translation backed by the Transable API.

⚠️ Preview. This is an early preview (0.1.0-preview.x). The public API may change between preview releases without notice. Not recommended for production yet — we'd love your feedback at https://transable.to/support.

Quick start

// App.xaml.cs — that's the whole integration:
protected override void OnStartup(StartupEventArgs e)
{
    TransableWpf.Init("tk_live_YOUR_KEY");
    base.OnStartup(e);
}

Get an API key: create an App project at https://transable.to/dashboard — the setup wizard shows a live "connected" check for your first run.

On startup the SDK detects the user's OS language, scans the logical tree of every open window and translates static UI text: TextBlock.Text, Content / Header values that are strings (buttons, menu items, group boxes, tab headers), Window.Title, ToolTip strings. _File-style access keys are preserved. Translations are cached on disk, so the second launch is instant and works offline.

Control markup

xmlns:tr="https://transable.to/sdk/wpf"

<TextBlock Text="BuildID: 2026.07.1" tr:Transable.Ignore="True" />  
<TextBlock Text="OK"                 tr:Transable.Force="True" />   
<tr:TransableLanguageSelector />                                    

Programmatic: Transable.Sdk.Transable.SetLanguage("de"), CurrentLanguage, LanguageChanged.

What is NOT translated (by design)

  • User input: TextBox.Text is never read or sent anywhere — not even with Transable.Force (WPF has no built-in watermark, so input controls have nothing to translate).
  • Data-bound properties: values driven by your ViewModels are skipped, so bound user data (names, e-mails, documents) never leaves the machine. Magic mode translates the static "chrome" of an MVVM app; translate dynamic content explicitly via Transable.Sdk.Transable.T("key", "Fallback text").
  • Style/template/trigger values: only plain local values (XAML literals or direct SetValue calls) are ever rewritten.
  • ItemsSource-generated items: rows of lists, grids and combo boxes are data, not chrome.
  • Safe mode additionally filters e-mails, URLs, paths, GUIDs, versions, log-like lines and code identifiers before the network layer.

Failure philosophy

Wrong key, no network, quota exceeded — the app keeps working in its source language, with one warning through TransableOptions.Logger. The SDK never throws from public entry points, never blocks the UI thread, and is inert in the XAML designer.

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.2 39 7/8/2026