Plug-in para o Visual Studio Code

Integrate your Visual Studio Code projects with Crowdin to optimize the localization process. Plugin allows uploading new source strings instantly to your Crowdin project and downloading translations.


To work with this plugin in the VS Code workspace, there should be Crowdin configuration file called either crowdin.yml or crowdin.yaml.

Exemplo de ficheiro de configuração:

"project_id": "projectId"                       #open project settings and go to API section "api_token": "personal-access-token"            #open profile settings and go to API & SSO > New Token > create Token "base_path": "/project-base-path"

"files": [
  { "source" : "/locale/en/folder1/*.xml",                                      #source files filter "translation" : "/locale/%two_letters_code%/folder1/%original_file_name%"   #where translations are stored },
  { "source" : "/locale/en/folder2/*.xml", "translation": "/locale/%two_letters_code%/folder2/%original_file_name%" } ]


Follow these steps to setup Crowdin Plugin for VS Code:

  1. Prepare crowdin.yml or crowdin.yaml configuration file and add it to the needed workspace in VS Code.
  2. Install Crowdin plugin using one of the following methods:
    • open VS Code Extensions (Ctrl+Shift+X), search for Crowdin and click Install
    • launch VS Code Quick Open (Ctrl+P), paste the command below, and press Enter
      ext install Crowdin.vscode-crowdin
  3. Crowdin plugin scans each VS Code workspace to find Crowdin configuration file (crowdin.yml or crowdin.yaml). It automatically builds the tree with source files in Crowdin Explorer component available on your Activity Bar.
  4. Use upward and downward arrows in Crowdin Explorer component to upload source files to Crowdin and download translations correspondingly.
    Crowdin Explorer

Este artigo foi útil?