SunamoXliffParser 26.3.28.3

dotnet add package SunamoXliffParser --version 26.3.28.3
                    
NuGet\Install-Package SunamoXliffParser -Version 26.3.28.3
                    
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="SunamoXliffParser" Version="26.3.28.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SunamoXliffParser" Version="26.3.28.3" />
                    
Directory.Packages.props
<PackageReference Include="SunamoXliffParser" />
                    
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 SunamoXliffParser --version 26.3.28.3
                    
#r "nuget: SunamoXliffParser, 26.3.28.3"
                    
#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 SunamoXliffParser@26.3.28.3
                    
#: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=SunamoXliffParser&version=26.3.28.3
                    
Install as a Cake Addin
#tool nuget:?package=SunamoXliffParser&version=26.3.28.3
                    
Install as a Cake Tool

SunamoXliffParser

A .NET library for parsing, modifying, and exporting XLIFF (XML Localization Interchange File Format) documents. Fork of fmdev.XliffParser updated for .NET 8+.

Features

  • Read and write XLIFF 1.1, 1.2, and 2.0 documents
  • Support for Standard, RCWinTrans11, and Multilingual App Toolkit dialects
  • Convert between XLIFF and ResX resource file formats
  • Add, update, and remove translation units programmatically
  • Update XLIFF documents from ResX source files

Installation

dotnet add package SunamoXliffParser

Key Classes

  • XlfDocument - Main entry point for loading and manipulating XLIFF files
  • XlfFile - Represents a file element within an XLIFF document
  • XlfTransUnit - Represents a single translation unit
  • ResXFile - Utility for reading and writing ResX resource files

Usage

// Load an XLIFF file
var doc = new XlfDocument("translations.xlf");

// Access translation units
foreach (var file in doc.Files)
{
    foreach (var unit in file.TransUnits)
    {
        Console.WriteLine($"{unit.Id}: {unit.Source} -> {unit.Target}");
    }
}

// Save as ResX
doc.SaveAsResX("output.resx");

// Update from source ResX file
var result = doc.UpdateFromSource();

Target Frameworks

net10.0;net9.0;net8.0

Request for new features / bug report: Mail or on GitHub

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos 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
26.3.28.3 107 3/28/2026
26.2.7.2 116 2/7/2026
26.2.5.1 110 2/5/2026
26.1.1.142 108 1/1/2026
26.1.1.141 108 1/1/2026
26.1.1.47 110 1/1/2026
25.12.31.2 113 12/31/2025
25.12.31.1 111 12/31/2025
25.12.21.1 211 12/21/2025
25.6.7.1 216 6/7/2025
25.3.29.1 214 3/29/2025
24.12.14.1 260 12/14/2024
24.12.5.1 208 12/5/2024
24.11.11.1 215 11/11/2024
24.11.9.1 213 11/9/2024
24.9.20.1 215 9/20/2024
24.7.16.1 231 7/16/2024
24.7.15.1 212 7/15/2024
24.7.12.1 217 7/12/2024
24.7.1.1 241 7/1/2024
Loading failed

feat: Improved variable names