islocalizer 1.2.1
See the version list below for details.
dotnet tool install --global islocalizer --version 1.2.1
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local islocalizer --version 1.2.1
#tool dotnet:?package=islocalizer&version=1.2.1
nuke :add-package islocalizer --version 1.2.1
IntelliSenseLocalizer 中文文档
a tool for generate and install Localized IntelliSense files. 用于生成和安装本地化IntelliSense文件的工具。
intro
Before .net6
we can download the localized .NET IntelliSense files from this page - Download localized .NET IntelliSense files. But long after .net6
was released. This page did not add the localized .NET IntelliSense files for .net6
. According to this issue in dotnet/docs
there is no localized .NET IntelliSense files any more - "Yes, unfortunately, we will no longer be localizing IntelliSense.
". But the online docs has the localized descriptions. So this tool was born.
IntelliSenseLocalizer
use the online docs to generate Localized IntelliSense files. This tool will download all api pages and analysis the content to match the origin IntelliSense file content and generate the target xml
.
Benefit from online docs's nice localization and uniform page layout. This tool can theoretically generate all locale's file. But when the page layout change this tool cannot automatically adapt to the new layout
.
How to use
1. install the tool
dotnet tool install -g islocalizer
run islocalizer -h
to see more command and helps.
Append the argument -h at the end of the command to view the help of the command. eg:
islocalizer install auto -h
islocalizer cache -h
2. try install Localized IntelliSense files from nuget.org
View available packs Nuget
This command try get the Localized IntelliSense files from nuget.org what moniker is net6.0
and locale is zh-cn
. And install it:
islocalizer install auto -m net6.0 -l zh-cn
Also you can set the ContentCompareType by -cc
islocalizer install auto -m net6.0 -l zh-cn -cc LocaleFirst
3. build the local Localized IntelliSense files yourself
build files about net6.0
:
islocalizer build -m net6.0
This command may take a whole day... But when cached all page it will be completed faster. The archive package will be saved in the default output directory. You can found the path in console.
4. install builded file
islocalizer install {ArchivePackagePath}
ArchivePackagePath
is the path of the archive package that you builded.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.2.2 | 813 | 8/22/2024 |
1.2.1 | 148 | 8/21/2024 |
1.2.0 | 161 | 8/18/2024 |
1.1.5 | 906 | 2/25/2024 |
1.1.4 | 198 | 2/25/2024 |
1.1.3 | 168 | 2/25/2024 |
1.1.2 | 386 | 1/5/2024 |
1.1.1 | 239 | 1/3/2024 |
1.1.0 | 226 | 1/3/2024 |
1.0.10 | 614 | 11/2/2023 |
1.0.9 | 762 | 8/13/2023 |
1.0.8 | 379 | 7/13/2023 |
1.0.7 | 319 | 6/24/2023 |
1.0.6 | 1,059 | 1/14/2023 |
1.0.5 | 728 | 11/9/2022 |
1.0.4 | 423 | 11/9/2022 |
1.0.2 | 659 | 10/18/2022 |
1.0.1 | 613 | 9/19/2022 |
1.0.0 | 942 | 4/20/2022 |