Info
Version: | 4.3.0 |
Author(s): | AoProject |
Last Update: | Monday, August 14, 2023 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/Cricle/Ao.Lang |
NuGet Url: | https://www.nuget.org/packages/Ao.Lang.Sources |
Install
Install-Package Ao.Lang.Sources
dotnet add package Ao.Lang.Sources
paket add Ao.Lang.Sources
Ao.Lang.Sources Download (Unzip the "nupkg" after downloading)
Dependencies
.NETStandard 1.3
- Ao.Lang(>= 3.0.0)
- Microsoft.Extensions.Configuration(>= 1.1.2)
- Microsoft.Extensions.Configuration.Abstractions(>= 1.1.2)
- Microsoft.Extensions.Configuration.FileExtensions(>= 1.1.2)
- Microsoft.Extensions.Configuration.Ini(>= 1.1.2)
- Microsoft.Extensions.Configuration.Json(>= 1.1.2)
- Microsoft.Extensions.Configuration.Xml(>= 1.1.2)
- NETStandard.Library(>= 1.6.1)
- NetEscapades.Configuration.Yaml(>= 1.6.0)
- Ao.Lang(>= 3.0.0)
- Microsoft.Extensions.Configuration(>= 5.0.0)
- Microsoft.Extensions.Configuration.FileExtensions(>= 5.0.0)
- Microsoft.Extensions.Configuration.Ini(>= 5.0.0)
- Microsoft.Extensions.Configuration.Json(>= 5.0.0)
- Microsoft.Extensions.Configuration.Xml(>= 5.0.0)
- NetEscapades.Configuration.Yaml(>= 2.0.1)
- Ao.Lang(>= 3.0.0)
- Microsoft.Extensions.Configuration(>= 1.1.2)
- Microsoft.Extensions.Configuration.Abstractions(>= 1.1.2)
- Microsoft.Extensions.Configuration.FileExtensions(>= 1.1.2)
- Microsoft.Extensions.Configuration.Ini(>= 1.1.2)
- Microsoft.Extensions.Configuration.Json(>= 1.1.2)
- Microsoft.Extensions.Configuration.Xml(>= 1.1.2)
- NetEscapades.Configuration.Yaml(>= 1.6.0)
It not only can provider static string, and it can hot reload/hot switch culture, use in wpf xaml etc...
This package is base on Microsoft.Extensions.Configuration.
If you want some other support files, you can intall package Microsoft.Extensions.Configuration.* or install Ao.Lang.Sources.
If you want us it in wpf, you can install Ao.Lang.Wpf.
Already implement *.resx and *.resources(or stream) reader.
If you wan use embed resources, you can use extensions methods.
If you want auto add lang files, you can named file *.zh-cn.json/*.zh-cn.resx to Raise.
If you want auto add lang resources, you can named compile rex file *.zh_cn.*.resouces and index your lang identity.
In 4.3.x, support argument binding!
And it support wpf, uwp, avaloniaui, uno, asp.net core.