Skip to content

dvdzhou/ulauncher-translate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translate

This is a fork of the original Translate extension by Nastuzzi Samy (@NastuzziSamy) with improved functionalities.

Table of contents

Preview

Screenshot Screenshot2

Icons by Icons8

Installation

Requirements

This extension requires Translate Shell in order to work.

1. Ulauncher's GUI

Open Ulauncher's preferences window > Extensions > Add Extension and paste the following URL:

https://github.com/dddddavid02/ulauncher-translate

2. Manually from source

Open the folder containing all Ulauncher extensions and move the extensions's folder inside or just git clone this repository.

$HOME/.local/share/ulauncher/extensions

Configuration

In Ulauncher's settings, you can customise:

  • Translate keyword

    • Default: trans
  • From language

    • Default: auto
    • Indicate languages as en, it, fr, es...
  • To language

Usage

To translate, open Ulauncher and type the set keyword (by default it's trans),
then simply type or paste the text and wait for the result!

By clicking or pressing ENTER on a translation, you can select whether you want to copy it or open it in Google Translate.

Languages

By default, it will autodetect your language and translate accordingly.

You can also specify languages in this format from_language:to_language. If you decide to not indicate either one or the other parameter, the default values will be used. It's also possible to translate to multiple languages at once using the + operator.

For example:

  • trans en:fr to translate from English to French
  • trans :fr to translate from the detected language to French
  • trans en: to translate from English to your language
  • trans en:fr+es to translate from English to French and Spanish

Options

  • -sp: to read what you entered
  • -p: to read the translation

License

MIT License

Languages

  • Python 100.0%