This article is a mirror article of machine translation, please click here to jump to the original article.

View: 20813|Reply: 2

[.NET Core] .NET Core 3.1 Installation Chinese Smart Prompt

[Copy link]
Posted on 8/22/2020 10:30:28 AM | | | |
Use vs2019 development project, move the mouse to the built-in method of the framework, there will be intelligent English prompts, Microsoft has provided us with .NET Core language packages in multiple languages, this article will install Chinese Chinese packages, so that smart prompts become Chinese.

introduction

For someone like me who is not good at English, the Chinese Chinese package will greatly improve my development efficiency. Currently, Microsoft has provided us with language packs for .NET Core in multiple languages.

Smart prompts are actually DLL comments, which are packaged into XML format files in different languages.

Prerequisites

.NET Core 3.0 SDK or later.
Visual Studio 2019 version 16.3 or later.

Download and install the localized IntelliSense file

In the official download of Microsoft, open the address we can see various language packs

The hyperlink login is visible.



We download the "Chinese (Simplified)" language package and unzip it to get the dotnet-intellisense-3.1-zh-hans folder.

SDK typepath
.NET CoreMicrosoft.NETCore.App.Ref
Windows desktopMicrosoft.WindowsDesktop.App.Ref
.NET StandardNETStandard.Library.Ref





Modify the Visual Studio language

Take the "Microsoft.NETCore.App.Ref" language package as an example.

Before Sinicization, it was as follows:





The smart prompts are still in English.

Chinese translation starts, open the "C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1" folder, and unzip the "/dotnet-intellisense-3.1-zh-hans/Microsoft.NETCore.App.Ref/zh-hans" that you just extracted. Copy the folder into it, and the copy is completed as shown in the figure below:



Restart Visual Studio, move the mouse to the Console.WriteLine method again, the prompt has changed to Chinese, as shown in the figure below:





Tips: There is no Chinese Simplified Chinese package for Asp.Net Core yet.

Resources:

The hyperlink login is visible.




Previous:[Turn]. NET exports PPT as a picture
Next:.NET uses Redis cache for expiration notifications
Posted on 10/11/2020 11:04:48 AM |
This post was last edited by stoner on 2020-10-11 11:56

Why after following the steps the prompts are still in English
Visual Studio can be set up correctly, but Visual Studio Code doesn't
 Landlord| Posted on 10/16/2020 5:33:39 PM |
stoner posted on 2020-10-11 11:04
Why after following the steps the prompts are still in English
Visual Studio can be set up correctly, but Visual Studio Code doesn't
...

Tutorials are only available for VS

vs code please find other tutorials yourself
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com