aboutsummaryrefslogtreecommitdiff
path: root/openrussian.1
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2019-05-17 15:44:37 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2019-05-17 15:44:37 +0300
commitfa4d21193f17938b08ed23b0f6ed2805d4c46a7f (patch)
tree879512d6fad1a1c9650f403ba0e08d91db217cfe /openrussian.1
parent8464dc3053056a1e0a8f386fb57783ed715a0249 (diff)
downloadopenrussian-cli-fa4d21193f17938b08ed23b0f6ed2805d4c46a7f.tar.gz
allow multiple translation languages to be specified via -L
* useful for maximizing the information on each page if you speak both English and German
Diffstat (limited to 'openrussian.1')
-rw-r--r--openrussian.119
1 files changed, 14 insertions, 5 deletions
diff --git a/openrussian.1 b/openrussian.1
index 84c4970..5c4bdc4 100644
--- a/openrussian.1
+++ b/openrussian.1
@@ -38,9 +38,9 @@ nominative male adjectives);
word inflections (conjugations, imperatives, declinations),
unless the \fB\-V\fP (verbatim) option is specified;
.IP \(bu
-translations according to the translation language.
-The translation language (currently \fIen\fP or \fIde\fP)
-is guessed from the system
+translations according to the translation languages.
+The translation languages (currently \fIen\fP, \fIde\fP or a combination thereof)
+are guessed from the system
.BR locale (5),
but can be overwritten using the \fB\-L\fP option.
.RE
@@ -62,10 +62,14 @@ This may be useful for storing them, generating PDF files, etc.
.SH OPTIONS
.
.IP "\fB-L\fR \fIlang\fR"
-Overwrite the translation language.
-Either \fIen\fP or \fIde\fP may be specified.
+Overwrite the translation languages.
+Either \fIen\fP (English) or \fIde\fP (German) may be specified.
The space after \fB-L\fP is optional,
so you may also for instance write \(lq-Lde\(rq.
+Multiple translations can be displayed on the same page by specifying
+\fB-L\fP multiple times.
+The order \fB-L\fP flags also matters and determines the order of
+translated material on the result page.
.IP "\fB-V\fR"
Turn on verbatim matching, ie. turn off any kind of inflection matching
and case folding.
@@ -92,6 +96,11 @@ Display the German translation:
openrussian -Lde саморазрушение
.EE
.TP
+Display both German and English translations, giving precedence to German:
+.EX
+openrussian -Lde -Len саморазрушение
+.EE
+.TP
If you are unsure which consonants appear in this word:
.EX
openrussian самора[сз]ру[шщ]ение