trns

command
v0.0.0-...-412a67c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2020 License: BSD-2-Clause Imports: 8 Imported by: 0

README

trns

trns - simple translation tool for the terminal using the DeepL service

Documentation

GoDoc

Installation

% go get github.com/davidrjenni/cmd/trns

Documentation

Overview

trns is a simple translation tool for the terminal using the DeepL service.

Installation:

% go get github.com/davidrjenni/cmd/trns

Usage:

% trns

Enter words to translate or commands. Commands are prefixed with a colon. The commands are:

:c		# copy the last translation to the clipboard, using xclip
:src <lang>	# set the language to translate from
:dst <lang>	# set the language to translate to

where <lang> is one of

en	for English
de	for German
fr	for French
es	for Spanish
it	for Italian
nl	for Dutch
pl	for Polish

Default is German for the source language and English for the destination language.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL