banner



How To Change Language In Html Code

Brandish Language

Visual Studio Code ships by default with English as the brandish language and other languages rely on Language Pack extensions available from the Market place.

VS Lawmaking detects the operating system'southward UI language and volition prompt you to install the appropriate Language Pack, if available on the Market place. Below is an case recommending a Simplified Chinese Language Pack:

Language Pack recommendation

After installing the Language Pack extension and following the prompt to restart, VS Code will use the Language Pack matching your operating arrangement's UI language.

Note: This topic explains how to modify the display linguistic communication in the VS Lawmaking UI via Linguistic communication Packs such as French or Chinese. If you want to add programming linguistic communication back up, for example for C++ or Java, refer to the Programming Languages section of the documentation.

Changing the Display Language

You can also override the default UI language past explicitly setting the VS Lawmaking display linguistic communication using the Configure Brandish Linguistic communication command.

Printing ⇧⌘P (Windows, Linux Ctrl+Shift+P) to bring upwards the Command Palette then get-go typing "display" to filter and brandish the Configure Display Language control.

configure display language command

Press Enter and a list of installed languages past locale is displayed, with the current locale highlighted.

installed languages list

Use the Install additional languages... option to install more Linguistic communication Packs from the Marketplace, or select a different locale from the list. Changing the locale requires a restart of VS Code. You volition be prompted to restart when yous select a locale.

The Configure Brandish Language control writes to the Runtime Configuration Arguments file argv.json in your user VS Code binder (.vscode).

The locale tin also be changed by editing the argv.json file straight (Preferences: Configure Runtime Arguments) and restarting VS Code.

Available locales

Display Language Locale
English (The states) en
Simplified Chinese zh-cn
Traditional Chinese zh-tw
French fr
German de
Italian it
Spanish es
Japanese ja
Korean ko
Russian ru
Bulgarian bg
Hungarian hu
Portuguese (Brazil) pt-br
Turkish tr
Polish pl
Czech cs

Marketplace Linguistic communication Packs

As described above, VS Code ships with English as the default display language, but other languages are bachelor through Marketplace Language Packs.

Y'all tin search for Language Packs in the Extensions view ( ⇧⌘X (Windows, Linux Ctrl+Shift+10)) by typing the language you are looking for forth with category:"Language Packs".

German Language Pack

You can have multiple Language Packs installed and select the current display language with the Configure Display Language command.

Setting the Language

If you desire to use a specific linguistic communication for a VS Code session, you tin use the command-line switch --locale to specify a locale when you launch VS Lawmaking.

Below is an case of using the --locale command-line switch to ready the VS Lawmaking display linguistic communication to French:

                      code                        .                          --locale=fr                  

Note: You must have the appropriate Language Pack installed for the language yous specify with the command-line switch. If the matching Language Pack is not installed, VS Code will brandish English.

Mutual questions

Unable to write to file because the file is muddy

This notification may mean that your argv.json file wasn't saved after a previous modify. Bank check if there are whatsoever errors in the file (Preferences: Configure Runtime Arguments), make sure the file is saved, and try to install the Linguistic communication Pack once more.

Tin I contribute to a language pack'southward translations?

Yes, the Visual Studio Code Community Localization Project is open to anyone, where contributors tin provide new translations, vote on existing translations, or advise procedure improvements.

How tin can I enable a programming language similar Python?

Refer to the Programming Languages section to learn how to install back up for programming languages, such equally PHP, Python, and Java.

Can I modify the display language in VS Code for the Web?

No, VS Lawmaking for the Spider web (vscode.dev, github.dev) doesn't withal support installing Linguistic communication Pack extensions and so English is currently the only supported display language. Yous tin follow progress in outcome #82595.

Source: https://code.visualstudio.com/docs/getstarted/locales

Posted by: northingtondarke1993.blogspot.com

0 Response to "How To Change Language In Html Code"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel