Offline Installation of Chinese Plugins for VSCode#
Recently, I needed to use a computer without internet access, but I still wanted to use the VSCode software. After installation, the interface was in English and I wanted to install Chinese plugins. However, without internet access, I found a solution.
First, go to Visual Studio Marketplace VScode Plugin Market and search for "Chinese" to find Simplified Chinese.
Click on it and select "Download Extension" in the bottom right corner.
Copy the downloaded offline installation package to the bin directory under the installation directory of VSCode. For example, if my VSCode is installed in C:\Users\IPC-510\AppData\Local\Programs\Microsoft VS Code
, I would copy it to C:\Users\IPC-510\AppData\Local\Programs\Microsoft VS Code\bin
directory.
In the bin directory, press Shift + right-click the mouse, and select "Open PowerShell window here".
Enter the command, noting that the plugin name should be placed after code --install-extension
.
code --install-extension .\MS-CEINTL.vscode-language-pack-zh-hans-1.79.2023061409.vsix
Open VSCode to view the installed plugin.
You can see that the Chinese language pack has been installed.
Press "Ctrl+Shift+P" to display the command palette, then type "display" to filter and display the "Configure Display Language" command. Press "Enter", and the installed language list will be displayed based on the region settings, with the current language setting highlighted.
Select Chinese.
Restart VSCode.
You can see that the Chinese language pack has been installed.