/vsc-google-translate

A Translate Extension for VSCode

Primary LanguageJavaScriptMIT LicenseMIT

English Readme / 简体中文说明 / 繁體中文說明

Google Translate Extension

Based on Google Translate. No API Key translation extension required.

Sponsor me / 赞助开发者

Features

  1. Language translation Ctrl + Shift + T.
    Language translation
  2. Translate and copy results to clipboard Alt + T.
    Translate and copy results to clipboard
  3. Expand the translation result candidate word selection box Shift + Alt + T.
    Expand the translation result candidate word selection box
  4. Translate and replace Ctrl + Alt + T.
    Translate and replace
  5. Hover to translate selected text.
    Hover to translate
  6. The target language of translation can be set through the setting. setting
  7. Temporarily switch to which language to translate to until you close the workspace or modify the configuration. google-translate.switch

Tips: Shortcuts can be modified by going to VSCode's Keyboard Shortcuts (Ctrl + K Ctrl + S)

Release Notes

1.2.8

  1. Update the translate mirror to China .

1.2.7

  1. Fixed Translate.Google.cn invalidation.

1.2.6

  1. Fix the incompatibility issue of the wrong source translate language that has been set.

1.2.5

  1. Added a Quick pick box to selected translate language.

1.2.4

  1. Update translate module use to @imlinhanchao/google-translate-api.

1.2.3

  1. Update the clipboard Use the vscode clipboard api.

1.2.2

  1. Added option to reduce the message box.

1.2.1

  1. Update switch target change language to save in setting.
  2. Added detect language setting command.
  3. Added swap first and second language command.
  4. Added target language and detect language setting status bar.

1.1.6

  1. Add replace translation and hover translation support multi-selection feature.

1.1.5

  1. Fixed launch extension home page failed at MacOS and Linux.

1.1.4

  1. Add a setting item maxSizeOfResult to set the maximum display characters for the translated content and results of the status bar and message box.

1.1.3

  1. Fix issue that the translation result is empty when the first language is not Chinese.
  2. Add the function of temporarily switching the translation language.

1.1.2

  1. Fix the operation and display problems of a large number of text translations.

1.1.1

  1. Update extension description.

1.1.0

  1. Added setting interface to configure target translation language, etc.
  2. Added function name translation feature.
  3. Prompts support multiple languages(i18n).
  4. Fix several known bugs.

1.0.10

  1. Update request library to got, to avoid some compatibility issues.

1.0.9

  1. Added internal error prompts for user feedback issues.

1.0.8

  1. Remove Request and URLEncode dependencies, use native modules instead, and reduce package size.
  2. Added the option to automatically switch the target language based on the language of the editor. If the text in the current compiler language is selected, it will be automatically translated into English.

1.0.7

  1. Update limited function trigger conditions to avoid conflicts with VSCode shortcuts.

1.0.6

  1. Fixed the problem that only the translation result of the first sentence is displayed when translating a paragraph of text.

1.0.5

  1. Added the function of displaying the translation result of the selected text when hovering.

1.0.4

  1. Add the instruction to directly replace the selected text language translation.
  2. Update Copy to Clipboard and Candidate function, no need to perform after translation.

1.0.3

  1. Add automatic translation into Chinese based on the selected text language.

1.0.2

  1. Add Linux notes.

1.0.1

  1. Add shortcut key description.

1.0.0

  1. Support Google Translate Chinese-English translation.

For more information

Enjoy!