Paratext.IcuFreeLdml 9.6.0.2-beta

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

Paratext.IcuFreeLdml

ICU-free implementation of ILdmlAdapter for reading and writing LDML writing system definitions.

Use this package when you depend on ParatextData but cannot or do not want to ship ICU (for example Android, or other lightweight deployments).

Usage

using Paratext.Data;
using Paratext.IcuFreeLdml;

ScrTextCollection.LdmlAdapter = new IcuFreeLdmlAdapter();

The adapter provides read/write parity with SIL.WritingSystems.LdmlDataMapper for Paratext-supported LDML fields: identity, exemplar characters, delimiters, layout, collations (simple + ICU rules storage), and fonts.

Limitations

  • Collation runtime still requires ICU where Paratext uses ICU collators; this library only parses and persists collation data.
  • sil:reordered collations are preserved on round-trip but not loaded into the writing system model.
  • sil:needsCompiling collations keep SimpleRules and any existing <cr> rules for round-trip, but rules are not validated or compiled on read (unlike ICU LdmlDataMapper which may compile on read).
  • \p{...} property classes in exemplar sets are expanded on read (ICU-free); write emits explicit character lists.
  • Unknown LDML elements are preserved when writing with an existing LDML file as the round-trip base (xmlTextReader parameter).

Building the NuGet package

Version is defined in Paratext.IcuFreeLdml.csproj. Release builds produce .nupkg and .snupkg files in bin/Release.

./createIcuFreeLdmlNugetPackage.sh Release

Optional version override:

./createIcuFreeLdmlNugetPackage.sh Release 9.6.0.2-beta

On Windows:

createIcuFreeLdmlNugetPackage.bat Release
Product Compatible and additional computed target framework versions.
.NET 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
9.6.0.2-beta 67 7/20/2026
9.6.0.1-beta 68 7/6/2026