-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelpfile.txt
15 lines (11 loc) · 1.15 KB
/
helpfile.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
USAGE
`mistl:translate [options] <message>`
Translate a string of text. The output message shows the input and output. The input string must have properly escaped double quotes (so replace `"` with `\"`).
**OPTIONS:**
`-i <langcode>`: Force translator to read input as a specific language. When omitted, automatically detects language.
`-o <langcode>`: Specify output language. Defaults to `en` (English).
`-t <iterations>`: Make a translation chain of a specified length. A translation chain runs input through the translator multiple times, with a random language each time.
`-l <langcodes>`: Use only the specified languages in the translation chain.
`-L <langcodes>`: Exclude the specified languages from the translation chain. Mutually exclusive with `-l`.
`-s <langcodes>`: Make a custom translation chain using the languages specified in order. Mutually exclusive with `-o`, `-t`, `-l` and `-L`.
`tl` or `t` can be used in place of `translate`. Language codes can either be language names or the ISO-639-1 language identifier. For a list of supported langauges, refer to this link: https://cloud.google.com/translate/docs/languages