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

Repository files navigation

vscode-translate-next

English | 简体中文

GitHub top language GitHub License GitHub Actions Workflow Status

Quickly translate texts in batches to make internationalization easier 🚀

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

📋 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
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

⌨️ 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

📢 More

This plugin has been used normally, everyone is welcome to experience, if you have any questions and suggestions, you can send me an issue to give feedback. If you are interested, you are especially welcome to join us, and let's improve this tool together. Help to click star ⭐, let more people know about this tool, thank you 🙏

🙏 Special thanks

📄 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