Spoleto.Core.Common.LocalizableString
3.6.8.1846
.NET 7.0
This package targets .NET 7.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
dotnet add package Spoleto.Core.Common.LocalizableString --version 3.6.8.1846
NuGet\Install-Package Spoleto.Core.Common.LocalizableString -Version 3.6.8.1846
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="3.6.8.1846" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Spoleto.Core.Common.LocalizableString --version 3.6.8.1846
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Spoleto.Core.Common.LocalizableString, 3.6.8.1846"
#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=3.6.8.1846 // Install Spoleto.Core.Common.LocalizableString as a Cake Tool #tool nuget:?package=Spoleto.Core.Common.LocalizableString&version=3.6.8.1846
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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:
Product | Versions 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 is compatible. 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 was computed. |
.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.
-
.NETStandard 2.0
- System.Text.Json (>= 7.0.2)
-
net7.0
- No dependencies.
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 |