Spoleto.Core.Common.LocalizableString 2.10.6.1727

There is a newer version of this package available.
See the version list below for details.
dotnet add package Spoleto.Core.Common.LocalizableString --version 2.10.6.1727                
NuGet\Install-Package Spoleto.Core.Common.LocalizableString -Version 2.10.6.1727                
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="Spoleto.Core.Common.LocalizableString" Version="2.10.6.1727" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Spoleto.Core.Common.LocalizableString --version 2.10.6.1727                
#r "nuget: Spoleto.Core.Common.LocalizableString, 2.10.6.1727"                
#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.
// Install Spoleto.Core.Common.LocalizableString as a Cake Addin
#addin nuget:?package=Spoleto.Core.Common.LocalizableString&version=2.10.6.1727

// Install Spoleto.Core.Common.LocalizableString as a Cake Tool
#tool nuget:?package=Spoleto.Core.Common.LocalizableString&version=2.10.6.1727                

Core.Common.LocalizableString

Functionality to store multilingual values in String.
The main object is LocalizableString.
This object has corresponding JSON converters based on System.Text.Json.
Also there are available extensions to convert String, Dictionary to LocalizableString.

This library helps make your application multilingual!

The example:

var rawString = "\u0010ru\u0010текст на русском\u0011\u0010en\u0010text in english\u0011\u0010il\u0010טקסט בעברית\u0011";
var multiString = new LocalizableString(rawString);
// OR
var multiString = (LocalizableString) rawString;

var ruString = multiString.GetCurrentString("ru"); // gets Russian translation
var enString = multiString.GetCurrentString("en"); // gets English translation

More examples

You can find more examples in the unit tests:

https://github.com/spoleto-software/Core.Common.LocalizableString/tree/main/src/Core.Common.LocalizableString.Tests

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Spoleto.Core.Common.LocalizableString:

Package Downloads
Spoleto.CIS.Service.Client

The client for SPOLETO RESTful service

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.6.8.1846 2,060 6/8/2023
3.6.8.1829 174 6/8/2023
2.11.22.1201 2,483 11/22/2022
2.11.15.1106 1,349 11/15/2022
2.11.15.927 906 11/15/2022
2.11.14.1608 353 11/14/2022
2.10.6.1727 416 10/6/2022
2.10.6.1723 406 10/6/2022
2.10.6.1719 416 10/6/2022
2.10.5.2247 400 10/5/2022
2.10.5.1335 396 10/5/2022
2.10.4.1413 880 10/4/2022
2.9.15.2215 5,499 9/15/2022
2.7.21.948 537 7/21/2022
2.7.19.1122 5,430 7/19/2022
2.7.14.821 4,273 7/14/2022
2.7.14 450 7/14/2022
2.7.13 463 7/13/2022