Coder Social home page Coder Social logo

robinpecha / text-translator-2023 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gufoe/text-translator

0.0 0.0 0.0 2.23 MB

extension for gnome-shell

Home Page: https://extensions.gnome.org/extension/593/text-translator/

JavaScript 96.73% CSS 3.27%

text-translator-2023's Introduction

Looking for maintainer

Hi all, I'm happy to maintain this repository but I cannot work on it much as I am not using the Gnome desktop anymore. I did not write this thing myself, I just kinda hacked it so it could still work after the creator abandoned it. If you want to manage this repo, open an issue :)

Text Translator

Translation of the text by different translators (currently Google.Translate, Yandex.Translate).

Installing translate-shell

This extension needs the package translate-shell.
Also, make sure you have the following dependencies installed:
sudo apt install gir1.2-clutter-1.0 gir1.2-clutter-gst-3.0 gir1.2-gtkclutter-1.0

Install translate-shell

cd /usr/bin
sudo wget https://git.io/trans
sudo chmod a+x trans

For full install instructions see translate-shell#installation. If you have trouble using translate-shell, make sure your version of translate-shell is over 0.9.5-1, otherwise it might cause issues.

Installation

Go on the Text Translator extension page, click on the switch ("OFF" => "ON"), click on the install button. That's it !

Shortcuts

<Super> T - open translator dialog.
<Super> <Shift> T - open translator dialog and translate text from clipboard.
<Super> <Alt> T - open translator dialog and translate from primary selection (requires xclip). <Ctrl> <Enter> - translate text.
<Ctrl> <Shift> C - copy translated text to clipboard.
<Ctrl> S - swap languages.
<Ctrl> D - reset languages to default.
<Tab> - toggle transliteration of result text.

Screenshots

Dialog

Translator Language chooser

Settings

Main settings Translators settings Keybindings

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.