Skip to content

🎉一款简单易用支持多种翻译引擎的vscode插件,A translate vscode extension that supports multiple translation engines

License

Notifications You must be signed in to change notification settings

yxw007/vscode-translate-next

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vscode-translate-next

English | 日語 | 한국어 | 简体中文

GitHub License

Every programmer must have a vscode translation plugin artifact, it allows you to not be afraid of multi-language, but let you more focused immersive writing code! 🚀

Note: Underlying translation support provided by translate

✨ Features

  • Simple and easy to use
  • Support for multiple translation engines: Google, Azure, Amazon, Baidu, Deepl, etc
  • Support for translation from one language to any language
  • Support hover translate
  • Supports translation of selected text in terminals

📋 Requirements

  • vscode >= 1.91.0

⚙️ Config

alt text

Tips: In addition to the Google Translate engine, if you set other translation engines as the default translation engine, you need to configure the corresponding translation engine configuration, if other translation engines do not use it, you can do without configuration

💻Supported Translation Engines

Name Support Description
google Commissioned and ready for use
azure translate Commissioned and ready for use
amazon translate Commissioned and ready for use
baidu Commissioned and ready for use
deepl Commissioned and ready for use
openai Commissioned and ready for use (Poor results, cue words are hard to tune in)
yandex I have not tuned in as I do not have a bank account supported by the platform (help from those who are in a position to do so is welcome and appreciated)

🛠️ Usage

Download:vscode-translate-next

  • Select translated text translateText
  • Hover translation hover
  • Translation terminal selected text translate-terminal-text
  • How to use openai alt text

📹 Video Tutorials

⌨️ Shortcut key

Description Shortcut key
The translation is selected from source language to Target language Shift + Alt + T
Switch the target language Ctrl + Alt + Shit + L
Switch the default translation engine Alt + Shit + E
Viewing Plugin Output Logs Alt + Shit + O
Cleaning the plugin output log Alt + C
Translate the selected text in the terminal Alt + `

Tip: If your editor environment has conflicting shortcuts, you can modify and adjust them yourself. If you forget the shortcut keys, you can use the status bar button provided in the bottom status bar to switch between the target language and the default translation engine, as shown in the following figure:

alt text

❓ FAQ

  1. Report: fetch failed error popup alt text

A: If you have not switched the default engine then you are using Google, and at this time your computer can not access Google will report this error!

  1. How do I get keys for other translation engines?

    A: Check the documentation https://github.com/yxw007/translate Engine Options Configuration Content

  2. Baidu Translation Related, Common Errors

    error code connotation description
    52003 unauthorized user Please check if the appid is correct or if the service is enabled!
    54003 restricted access The opened service may be a generic text translation service, which needs to be switched to a domain translation service.

For more error codes, see Error Code List.

📢 More

  • To configure other translation engines, you can read the documentation translate README
  • If you encounter problems and don't know how to solve them, you can leave me a message, add my wechat, or submit the Issue.
  • This plugin if particularly helpful and greatly improves your efficiency. You can:

Thank you to everyone who has supported and helped me, your support is my greatest motivation!❤️

📄 License

vscode-translate-next is released under the MIT license. for more information, see the LICENSE file.

About

🎉一款简单易用支持多种翻译引擎的vscode插件,A translate vscode extension that supports multiple translation engines

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages