This repository has been archived by the owner on Oct 29, 2020. It is now read-only.
forked from henux/translate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
translate.1
115 lines (114 loc) · 2.03 KB
/
translate.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
.TH "TRANSLATE" "1" "November 2014" "Version 20141114" "User Commands"
.SH NAME
translate \- Google Translator command line interface
.SH SYNOPSIS
.B translate
.I FROM
.I TO
.I [WORDS...]
.SH DESCRIPTION
Translates WORDS from the language FROM to the language TO and prints them to stdout.
FROM and TO languages must be given as language code identifiers (see below).
If WORDS are missing it tries to read from STDIN. This allows piping.
Empty STDIN enters a input mode. Enter words and invoke on a
newline ^D to leave the text mode and continue translation.
If some WORDS are not recognized, then they are printed as verbatim.
.SH OPTIONS
The following options are understood:
.TP
.BR \-h
show help message and exit
.TP
.BR \-x
show extended output (alternative translations, usage examples, etc.)
.SH SUPPORTED LANGUAGES
As of January 11 2009, Google Translator supports following languages:
ar
Arabic
bg
Bulgarian
ca
Catalan
zh-CN
Simplified Chinese
zh-TW
Traditional Chines (only as destination language)
hr
Croatian
cs
Czech
da
Danish
nl
Dutch
en
English
tl
Filipino
fi
Finnish
fr
French
de
German
el
Greek
iw
Hebrew
hi
Hindi
id
Indonesian
it
Italian
ja
Japanese
ko
Korean
lv
Latvian
lt
Lithuanian
no
Norwegian
pl
Polish
pt
Portuguese
ro
Romanian
ru
Russian
sr
Serbian
es
Spanish
sv
Swedish
uk
Ukrainian
vi
Vietnamese
.SH EXAMPLE
.TP
.B translate fi en ohjelmisto
Translate the Finnish word "ohjelmisto" into English.
.TP
.B translate en de < foo
Translates the content of file
.I foo
from english to german and print it to STDOUT.
.TP
.B translate en fr
Enters a modus where you can enter words.
^D on a newline continues with the translation process.
.SH REPORTING BUGS
Report bugs at <https://github.com/Narrat/translate.git/>.
.SH COPYRIGHT
Copyright \(co 2009 Henri Hakkinen.
Copyright \(co 2013-2014 Lex Black.
.PP
translate is distributed under the terms of the GNU General Public License version 3 or later.
.PP
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.