Spoleto.Core.Common.LocalizableString 2.10.5.2247

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.5.2247                
NuGet\Install-Package Spoleto.Core.Common.LocalizableString -Version 2.10.5.2247                
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.5.2247" />                
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.5.2247                
#r "nuget: Spoleto.Core.Common.LocalizableString, 2.10.5.2247"                
#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.5.2247

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

Core.Common.LocalizableString

Functionality to store multilingual values in String. The main object is LocalizableString. It has corresponding JSON converters.

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,062 6/8/2023
3.6.8.1829 176 6/8/2023
2.11.22.1201 2,485 11/22/2022
2.11.15.1106 1,351 11/15/2022
2.11.15.927 908 11/15/2022
2.11.14.1608 355 11/14/2022
2.10.6.1727 418 10/6/2022
2.10.6.1723 408 10/6/2022
2.10.6.1719 419 10/6/2022
2.10.5.2247 402 10/5/2022
2.10.5.1335 398 10/5/2022
2.10.4.1413 882 10/4/2022
2.9.15.2215 5,501 9/15/2022
2.7.21.948 539 7/21/2022
2.7.19.1122 5,432 7/19/2022
2.7.14.821 4,275 7/14/2022
2.7.14 452 7/14/2022
2.7.13 465 7/13/2022