StockSharp.Localization 5.0.209

Prefix Reserved
dotnet add package StockSharp.Localization --version 5.0.209
                    
NuGet\Install-Package StockSharp.Localization -Version 5.0.209
                    
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.209" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="StockSharp.Localization" Version="5.0.209" />
                    
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.209
                    
#r "nuget: StockSharp.Localization, 5.0.209"
                    
#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.209
                    
#: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.209
                    
Install as a Cake Addin
#tool nuget:?package=StockSharp.Localization&version=5.0.209
                    
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.209 36 7/20/2025
5.0.208 546 7/14/2025
5.0.207 800 7/8/2025
5.0.206 484 7/4/2025
5.0.205 539 6/30/2025
5.0.204 2,191 6/18/2025
5.0.203 797 6/2/2025
5.0.202 928 5/14/2025
5.0.201 3,864 2/26/2025
5.0.200 1,624 2/14/2025
5.0.199 1,555 2/5/2025
5.0.198 309 2/4/2025
5.0.197 2,411 12/30/2024
5.0.196 1,874 11/18/2024
5.0.195 922 11/18/2024
5.0.194 961 11/16/2024
5.0.193 1,414 10/14/2024
5.0.192 2,039 10/7/2024
5.0.191 902 10/3/2024
5.0.190 826 9/23/2024
5.0.189 966 9/18/2024
5.0.188 1,811 9/16/2024
5.0.187 1,266 9/8/2024
5.0.186 1,512 8/24/2024
5.0.185 1,327 8/9/2024
5.0.184 1,190 8/1/2024
5.0.183 1,670 7/28/2024
5.0.182 1,867 7/4/2024
5.0.181 2,008 6/13/2024
5.0.180 2,076 5/30/2024
5.0.179 1,456 5/13/2024
5.0.178 1,154 5/5/2024
5.0.177 832 4/26/2024
5.0.176 1,014 4/25/2024
5.0.175 2,206 4/12/2024
5.0.174 1,619 4/4/2024
5.0.173 623 3/29/2024
5.0.172 1,784 3/11/2024
5.0.171 2,676 2/21/2024
5.0.170 1,719 2/14/2024
5.0.169 1,659 2/12/2024
5.0.168 1,918 2/6/2024
5.0.167 2,089 1/31/2024
5.0.166 3,810 1/10/2024
5.0.165 3,879 12/15/2023
5.0.164 2,910 12/8/2023
5.0.163 3,059 11/28/2023
5.0.162 2,768 11/28/2023
5.0.161 8,801 10/8/2023
5.0.160 6,805 9/29/2023
5.0.159 6,920 9/19/2023
5.0.158 2,546 9/18/2023
5.0.157 11,154 7/30/2023
5.0.156 9,819 7/10/2023
5.0.155 9,373 7/8/2023
5.0.154 9,712 7/5/2023
5.0.153 4,128 6/22/2023
5.0.152 9,814 6/19/2023
5.0.151 14,360 5/14/2023
5.0.150 10,791 5/8/2023
5.0.149 14,453 4/21/2023
5.0.148 11,660 4/17/2023
5.0.147 12,535 4/7/2023
5.0.146 12,224 4/3/2023
5.0.145 17,213 3/6/2023
5.0.144 15,314 2/23/2023
5.0.143 16,166 2/13/2023
5.0.142 15,702 2/9/2023
5.0.141 15,490 2/8/2023
5.0.140 18,059 2/2/2023
5.0.139 16,780 1/30/2023
5.0.138 22,910 1/3/2023
5.0.137 19,025 12/30/2022
5.0.136 19,478 12/12/2022
5.0.135 19,631 12/8/2022
5.0.134 27,291 11/11/2022
5.0.133 23,063 11/1/2022
5.0.132 24,145 10/16/2022
5.0.131 50,734 9/8/2022
5.0.130 45,637 8/29/2022
5.0.129 46,322 8/24/2022
5.0.128 52,458 7/26/2022
5.0.127 45,784 7/19/2022
5.0.126 52,612 5/13/2022
5.0.125 45,680 4/30/2022
5.0.124 11,683 3/29/2022
5.0.123 52,278 3/25/2022
5.0.122 46,578 3/17/2022
5.0.121 55,617 2/15/2022
5.0.120 47,959 2/11/2022
5.0.119 17,342 2/2/2022
5.0.118 13,834 1/28/2022
5.0.117 44,899 1/26/2022
5.0.116 45,401 1/21/2022
5.0.115 44,980 1/21/2022
5.0.114 49,345 1/13/2022
5.0.113 28,164 12/29/2021
5.0.112 28,190 12/20/2021
5.0.111 28,041 12/11/2021
5.0.110 28,261 12/6/2021
5.0.109 29,686 11/29/2021
5.0.108 28,018 11/22/2021
5.0.107 28,977 11/13/2021
5.0.106 30,548 11/8/2021
5.0.105 32,178 11/5/2021
5.0.104 31,656 10/21/2021
5.0.103 31,301 10/14/2021
5.0.102 31,321 10/14/2021
5.0.101 4,594 10/13/2021
5.0.100 7,476 10/13/2021
5.0.99 32,105 10/11/2021
5.0.98 32,922 10/8/2021
5.0.97 6,877 10/7/2021
5.0.96 31,770 10/7/2021
5.0.95 1,879 9/24/2021
5.0.94 33,158 9/23/2021
5.0.93 31,046 9/7/2021
5.0.92 32,119 7/31/2021
5.0.91 30,732 7/30/2021
5.0.90 30,309 7/30/2021
5.0.89 29,802 7/19/2021
5.0.88 30,794 7/13/2021
5.0.87 30,863 7/5/2021
5.0.86 32,015 6/16/2021
5.0.85 31,696 6/4/2021
5.0.84 31,149 5/15/2021
5.0.83 31,062 4/30/2021
5.0.82 31,088 4/26/2021
5.0.81 31,153 4/19/2021
5.0.80 30,611 4/16/2021
5.0.79 30,501 4/13/2021
5.0.78 30,532 4/12/2021
5.0.77 30,977 4/8/2021
5.0.76 30,549 4/7/2021
5.0.75 30,362 4/6/2021
5.0.74 30,830 3/29/2021
5.0.73 30,788 3/28/2021
5.0.72 30,949 3/26/2021
5.0.71 30,337 3/26/2021
5.0.70 30,371 3/24/2021
5.0.69 29,212 3/23/2021
5.0.68 29,159 3/18/2021
5.0.67 28,784 3/17/2021
5.0.66 29,281 3/12/2021
5.0.65 29,146 3/4/2021
5.0.64 5,949 3/4/2021
5.0.63 28,955 2/26/2021
5.0.62 29,460 2/17/2021
5.0.61 28,876 2/15/2021
5.0.60 28,503 2/13/2021
5.0.59 28,975 2/12/2021
5.0.58 29,525 2/7/2021
5.0.57 28,943 2/2/2021
5.0.56 28,904 2/2/2021
5.0.55 29,328 1/26/2021
5.0.54 29,151 1/25/2021
5.0.53 29,025 1/25/2021
5.0.52 29,846 1/21/2021
5.0.51 29,281 1/20/2021
5.0.50 28,404 1/19/2021
5.0.49 27,222 1/16/2021
5.0.48 28,674 1/14/2021
5.0.47 29,112 12/29/2020
5.0.46 29,759 12/23/2020
5.0.45 28,846 12/18/2020
5.0.44 53,846 12/14/2020
5.0.43 31,376 12/10/2020
5.0.43-a3 3,808 11/30/2020
5.0.43-a2 3,706 11/30/2020
5.0.42 60,486 11/29/2020
5.0.41 28,477 11/22/2020
5.0.40 28,297 11/22/2020
5.0.40-a7 21,371 11/22/2020
5.0.39 51,094 11/13/2020
5.0.38 29,454 10/11/2020
5.0.37 29,572 9/20/2020
5.0.36 28,008 9/18/2020
5.0.35 28,979 9/15/2020
5.0.34 28,039 9/9/2020
5.0.33 28,119 9/3/2020
5.0.32 28,683 8/21/2020
5.0.31 28,647 8/11/2020
5.0.30 28,285 8/10/2020
5.0.29 28,999 8/10/2020
5.0.28 2,163 8/2/2020
5.0.27 28,115 7/28/2020
5.0.26 27,939 7/19/2020
5.0.25 27,912 7/9/2020
5.0.24 28,079 7/7/2020
5.0.23 29,012 6/10/2020
5.0.22 28,562 6/9/2020
5.0.21 28,482 6/9/2020
5.0.20 29,009 6/4/2020
5.0.19 28,754 6/2/2020
5.0.18 28,659 5/29/2020
5.0.17 28,752 5/25/2020
5.0.16 28,555 5/21/2020
5.0.15 27,937 5/14/2020
5.0.14 28,079 5/12/2020
5.0.13 28,273 5/11/2020
5.0.12 28,234 5/9/2020
5.0.11 28,123 5/5/2020
5.0.10 28,222 5/4/2020
5.0.9 2,066 4/24/2020
5.0.8 7,855 4/22/2020
5.0.7 29,595 4/18/2020
5.0.6 27,647 4/16/2020
5.0.5 23,748 4/15/2020
5.0.4 2,103 4/14/2020
5.0.3 25,319 4/12/2020
5.0.2 24,948 4/4/2020
5.0.1 10,867 3/27/2020
5.0.0 10,917 3/26/2020

Clarify Hydra analytics usage
Merge branch 'master' of https://github.com/StockSharp/stocksharp
Remove license references from READMEs
Add detailed README for Localization project