StockSharp.Localization 5.0.213

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

StockSharp.Localization

Overview

StockSharp.Localization provides a flexible and extensible localization system for the entire StockSharp framework. The package contains the default English resources and utilities for switching languages at runtime. It works together with language specific packages located in Localization.Langs.

Features

  • JSON based resources – human readable strings.json holds the default English text for all UI elements and messages.
  • Source generator – during build Localization.Generator converts the JSON file into strongly typed properties of the LocalizedStrings class.
  • Runtime language switching – any number of language packs can be added and activated through LocalizedStrings.AddLanguage and LocalizedStrings.ActiveLanguage.
  • Missing translation tracking – the Missing event notifies when a resource key or text does not have a translation.
  • Automatic culture update – setting ActiveLanguage updates Thread.CurrentCulture and Thread.CurrentUICulture.

Installation

Add StockSharp.Localization as a NuGet package to your project. To include additional languages, reference the corresponding package such as StockSharp.Localization.ru or the meta package StockSharp.Localization.All.

The source generator is included automatically and requires no manual configuration.

Usage

Retrieve a localized string via the generated properties:

// get text for the current language
string text = LocalizedStrings.About;

// explicitly translate from one language to another
string russian = "About".Translate(from: LocalizedStrings.EnCode, to: LocalizedStrings.RuCode);

Switch the active language at runtime:

// change UI culture to Russian
LocalizedStrings.ActiveLanguage = LocalizedStrings.RuCode;

Extending Language Support

To add your own language:

  1. Create a strings.json file with translations where keys match those in the base project.
  2. Include the JSON in a new .csproj referencing common_lang.props (see examples in Localization.Langs).
  3. Reference the resulting assembly in your application. LocalizedStrings will automatically pick it up when available.

Languages can also be loaded dynamically using AddLanguage(string langCode, Stream stream) at runtime.

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.  net9.0 was computed.  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 was computed.  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. 
.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.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on StockSharp.Localization:

Package Downloads
StockSharp.Messages

Trading messages (register order, cancel order, subscribe market data etc.). More info on web site https://stocksharp.com/store/

StockSharp.Logging

Logging components. More info on web site https://stocksharp.com/store/

StockSharp.Licensing.Core

Licensing core components. More info on web site https://stocksharp.com/store/

TradeSystemsCommon.Tools

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.213 450 11/20/2025
5.0.212 3,300 9/11/2025
5.0.211 2,001 8/30/2025
5.0.210 2,211 8/10/2025
5.0.209 2,747 7/20/2025
5.0.208 1,000 7/14/2025
5.0.207 1,504 7/8/2025
5.0.206 868 7/4/2025
5.0.205 894 6/30/2025
5.0.204 4,491 6/18/2025
5.0.203 1,367 6/2/2025
5.0.202 1,547 5/14/2025
5.0.201 5,985 2/26/2025
5.0.200 2,476 2/14/2025
5.0.199 3,152 2/5/2025
5.0.198 475 2/4/2025
5.0.197 3,559 12/30/2024
5.0.196 2,494 11/18/2024
5.0.195 1,322 11/18/2024
5.0.194 1,559 11/16/2024
5.0.193 1,991 10/14/2024
5.0.192 3,287 10/7/2024
5.0.191 1,504 10/3/2024
5.0.190 1,235 9/23/2024
5.0.189 1,534 9/18/2024
5.0.188 2,859 9/16/2024
5.0.187 1,885 9/8/2024
5.0.186 2,187 8/24/2024
5.0.185 1,923 8/9/2024
5.0.184 1,934 8/1/2024
5.0.183 2,839 7/28/2024
5.0.182 2,764 7/4/2024
5.0.181 2,993 6/13/2024
5.0.180 3,102 5/30/2024
5.0.179 2,237 5/13/2024
5.0.178 1,746 5/5/2024
5.0.177 1,214 4/26/2024
5.0.176 1,532 4/25/2024
5.0.175 3,279 4/12/2024
5.0.174 2,380 4/4/2024
5.0.173 864 3/29/2024
5.0.172 2,451 3/11/2024
5.0.171 3,549 2/21/2024
5.0.170 2,227 2/14/2024
5.0.169 2,115 2/12/2024
5.0.168 2,504 2/6/2024
5.0.167 2,582 1/31/2024
5.0.166 4,853 1/10/2024
5.0.165 4,913 12/15/2023
5.0.164 3,617 12/8/2023
5.0.163 3,807 11/28/2023
5.0.162 3,409 11/28/2023
5.0.161 9,934 10/8/2023
5.0.160 7,336 9/29/2023
5.0.159 7,412 9/19/2023
5.0.158 2,956 9/18/2023
5.0.157 12,118 7/30/2023
5.0.156 10,402 7/10/2023
5.0.155 9,901 7/8/2023
5.0.154 10,228 7/5/2023
5.0.153 4,818 6/22/2023
5.0.152 10,330 6/19/2023
5.0.151 16,149 5/14/2023
5.0.150 11,445 5/8/2023
5.0.149 15,769 4/21/2023
5.0.148 12,200 4/17/2023
5.0.147 13,214 4/7/2023
5.0.146 12,786 4/3/2023
5.0.145 18,357 3/6/2023
5.0.144 15,945 2/23/2023
5.0.143 16,935 2/13/2023
5.0.142 16,265 2/9/2023
5.0.141 16,010 2/8/2023
5.0.140 18,896 2/2/2023
5.0.139 17,401 1/30/2023
5.0.138 24,253 1/3/2023
5.0.137 19,880 12/30/2022
5.0.136 20,305 12/12/2022
5.0.135 20,462 12/8/2022
5.0.134 28,483 11/11/2022
5.0.133 23,871 11/1/2022
5.0.132 24,823 10/16/2022
5.0.131 51,908 9/8/2022
5.0.130 46,539 8/29/2022
5.0.129 47,179 8/24/2022
5.0.128 53,722 7/26/2022
5.0.127 46,610 7/19/2022
5.0.126 53,773 5/13/2022
5.0.125 46,539 4/30/2022
5.0.124 12,121 3/29/2022
5.0.123 53,346 3/25/2022
5.0.122 47,433 3/17/2022
5.0.121 56,807 2/15/2022
5.0.120 49,411 2/11/2022
5.0.119 18,024 2/2/2022
5.0.118 14,377 1/28/2022
5.0.117 45,737 1/26/2022
5.0.116 46,151 1/21/2022
5.0.115 45,810 1/21/2022
5.0.114 50,539 1/13/2022
5.0.113 28,978 12/29/2021
5.0.112 29,002 12/20/2021
5.0.111 28,862 12/11/2021
5.0.110 29,043 12/6/2021
5.0.109 30,620 11/29/2021
5.0.108 28,834 11/22/2021
5.0.107 29,778 11/13/2021
5.0.106 31,314 11/8/2021
5.0.105 33,121 11/5/2021
5.0.104 32,389 10/21/2021
5.0.103 32,076 10/14/2021
5.0.102 32,085 10/14/2021
5.0.101 4,837 10/13/2021
5.0.100 7,873 10/13/2021
5.0.99 32,947 10/11/2021
5.0.98 33,754 10/8/2021
5.0.97 7,267 10/7/2021
5.0.96 32,575 10/7/2021
5.0.95 1,989 9/24/2021
5.0.94 34,092 9/23/2021
5.0.93 31,812 9/7/2021
5.0.92 32,935 7/31/2021
5.0.91 31,454 7/30/2021
5.0.90 31,025 7/30/2021
5.0.89 30,495 7/19/2021
5.0.88 31,556 7/13/2021
5.0.87 31,590 7/5/2021
5.0.86 32,704 6/16/2021
5.0.85 32,507 6/4/2021
5.0.84 31,839 5/15/2021
5.0.83 31,782 4/30/2021
5.0.82 31,841 4/26/2021
5.0.81 31,864 4/19/2021
5.0.80 31,318 4/16/2021
5.0.79 31,219 4/13/2021
5.0.78 31,252 4/12/2021
5.0.77 31,656 4/8/2021
5.0.76 31,296 4/7/2021
5.0.75 31,068 4/6/2021
5.0.74 31,589 3/29/2021
5.0.73 31,513 3/28/2021
5.0.72 31,629 3/26/2021
5.0.71 31,082 3/26/2021
5.0.70 31,077 3/24/2021
5.0.69 29,985 3/23/2021
5.0.68 29,908 3/18/2021
5.0.67 29,582 3/17/2021
5.0.66 29,974 3/12/2021
5.0.65 29,888 3/4/2021
5.0.64 6,256 3/4/2021
5.0.63 29,682 2/26/2021
5.0.62 30,131 2/17/2021
5.0.61 29,607 2/15/2021
5.0.60 29,200 2/13/2021
5.0.59 29,710 2/12/2021
5.0.58 30,190 2/7/2021
5.0.57 29,723 2/2/2021
5.0.56 29,641 2/2/2021
5.0.55 30,055 1/26/2021
5.0.54 29,886 1/25/2021
5.0.53 29,794 1/25/2021
5.0.52 30,594 1/21/2021
5.0.51 30,028 1/20/2021
5.0.50 29,120 1/19/2021
5.0.49 27,884 1/16/2021
5.0.48 29,472 1/14/2021
5.0.47 29,885 12/29/2020
5.0.46 30,574 12/23/2020
5.0.45 29,689 12/18/2020
5.0.44 55,422 12/14/2020
5.0.43 32,395 12/10/2020
5.0.43-a3 4,032 11/30/2020
5.0.43-a2 3,947 11/30/2020
5.0.42 62,440 11/29/2020
5.0.41 29,200 11/22/2020
5.0.40 29,043 11/22/2020
5.0.40-a7 22,161 11/22/2020
5.0.39 52,837 11/13/2020
5.0.38 30,186 10/11/2020
5.0.37 30,300 9/20/2020
5.0.36 28,693 9/18/2020
5.0.35 29,740 9/15/2020
5.0.34 28,709 9/9/2020
5.0.33 28,828 9/3/2020
5.0.32 29,395 8/21/2020
5.0.31 29,348 8/11/2020
5.0.30 28,990 8/10/2020
5.0.29 29,708 8/10/2020
5.0.28 2,275 8/2/2020
5.0.27 28,825 7/28/2020
5.0.26 28,650 7/19/2020
5.0.25 28,594 7/9/2020
5.0.24 28,761 7/7/2020
5.0.23 29,609 6/10/2020
5.0.22 29,179 6/9/2020
5.0.21 29,137 6/9/2020
5.0.20 29,731 6/4/2020
5.0.19 29,430 6/2/2020
5.0.18 29,265 5/29/2020
5.0.17 29,410 5/25/2020
5.0.16 29,214 5/21/2020
5.0.15 28,541 5/14/2020
5.0.14 28,715 5/12/2020
5.0.13 28,880 5/11/2020
5.0.12 28,864 5/9/2020
5.0.11 28,798 5/5/2020
5.0.10 28,910 5/4/2020
5.0.9 2,172 4/24/2020
5.0.8 8,270 4/22/2020
5.0.7 30,300 4/18/2020
5.0.6 28,283 4/16/2020
5.0.5 24,302 4/15/2020
5.0.4 2,206 4/14/2020
5.0.3 25,972 4/12/2020
5.0.2 25,582 4/4/2020
5.0.1 11,535 3/27/2020
5.0.0 11,584 3/26/2020