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.
Configuration file example:
"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:
ext install Crowdin.vscode-crowdin