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.
Click to show internal directories.
Click to hide internal directories.