Skip to content

a translate software on Liunx | 運行於Linux平臺上的一個翻譯軟體

License

Notifications You must be signed in to change notification settings

zsiothsu/select-translate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

select-translate

This software can translate a selected text using google translate api.

Before installation

xsel and libcurl is required.

Archlinux:

pacman -S xsel libcurl-gnutls

Ubuntu:

apt install xsel libcurl4-gnutls-dev

Usage

usage:
    select-translate [options]
options:
    -c             --clear             clean screen before translation
    -d <time/s>    --delay             the time between two translation (default 3)
    -s <lang>      --source-language   source language. (default auto)
                                       [Chinese/English/Japanese/Chinese_Simplified
                                        /Chinese_traditional/auto]
    -t <lang>      --target-language   target language. (default Chinese)
                                       [Chinese/English/Japanese/Chinese_Simplified
                                        /Chinese_traditional]
    -h             --help              Display available options.

example:

$ select-translate -c

[source]:1
こんにちは
[translated]
你好

About

a translate software on Liunx | 運行於Linux平臺上的一個翻譯軟體

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published