Code Monkey home page Code Monkey logo

vscode-google-translate's Introduction

Vscode Google Translate

Licence VS Code Marketplace Rating

Quickly translate text right in your code ๐Ÿš€

Demo

Usage

Translate selected text

  1. Select some text to translate
  2. Press ALT+SHIFT+T
  3. Select the output languages you want and enjoy ๐Ÿ‘

Translate a line under cursor

This feature inserts a newline under the current one with translation

  1. Set cursor/cursors on line(s) to translate
  2. Select menu 'Translate line(s) under the cursor'
  3. Select the output languages you want and enjoy

Keyboard shortcut

If the keyboard shortcut doesn't work for you, you have two options:

  • Open the command palette and manually select 'Translate selection(s)'
  • Open your keyboard shortcuts, search for 'Translate selection(s)' and set a new shortcut for this command.

Preferred language settings

Want to quickly translate into a specific language? Here's how to set your preferred language to Japanese.

  1. Get your preferred language code from the web.
  2. Add the following setting to your workspace: "vscodeGoogleTranslate.preferredLanguage": "ja"
  3. Open the command palette and select "Translate selection(s) to preferred language".

Proxy Support

You can use a proxy to translate text with the following settings:

"vscodeGoogleTranslate.host": "120.0.0.1"       // Proxy disabled if empty
"vscodeGoogleTranslate.port": "8080"            // Proxy port
"vscodeGoogleTranslate.username": "admin"       // Proxy auth disabled if empty
"vscodeGoogleTranslate.password": "password"    // Proxy password

Pull request

Pull request are welcome. Fork the project, clone it, install dependencies npm i and start coding :-).

Give five stars ๐Ÿคฉ

If you like it, rate it

vscode-google-translate's People

Contributors

funkyremi avatar oshliaer avatar tyler36 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.