Quick Language Translation

by @pixies

Activate

Quickly translate text and display it in the sidebar


How to Use

Overview

Right-click to translate text you highlight using the Google Translate API, and display the translation in the sidebar. There’s also a button to copy the translated text to your clipboard if needed.

Activate the Blueprint

  1. Activate this blueprint. If you're not logged into PixieBrix or you have not previously created a PixieBrix account, you'll be prompted to do so before continuing the activation flow for this blueprint.

  2. Once you are logged in, use the PixieBrix Extension Console to choose your target language that you want highlighted text to be translated to.

    drawing

  3. Make sure you the Google Translate API is selected in the dropdown.

    drawing

  4. Finish activating this blueprint by clicking "Activate" in the Extension Console.

    drawing

Try it Out

  1. Browse to a page that has text you would like to translate. Like this Spanish newspaper

  2. Highlight some text that you would like to translate. Right-click and you should see "Translate: 'selectionText" in the context menu. Click it.

    drawing

  3. Viola - the translation appears in the sidebar!

    drawing

  4. Click the “Copy to Clipboard” button to copy the translated text to your clipboard.

    drawing

Endless Possibilities

This is just the beginning! Once you activate your blueprint, the possibilities are endless. With PixieBrix, you can customize any blueprint to meet your needs or even build something entirely new. If you run into any trouble and need some friendly support or if want to share your creations with the world, join our PixieBrix Slack Community.


@pixies/google/language-translation-quick

Version

1.0.16

Created

Dec. 20, 2022

Updated

Jan. 11, 2023