summaryrefslogtreecommitdiffstats
path: root/util/bin/google.translate
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-05-19 14:43:14 +0200
committerlassulus <lass@aidsballs.de>2015-05-19 14:43:14 +0200
commitc5a4be51df09659d9bbf7da573b4568ce56b7514 (patch)
tree024117a23e3ea55968dcd6c8550ea4570281ef88 /util/bin/google.translate
parent7958dc4e3e1cf7eea79cc587ed6b98cdabc71893 (diff)
google-utils: add language reference
Diffstat (limited to 'util/bin/google.translate')
-rwxr-xr-xutil/bin/google.translate1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/bin/google.translate b/util/bin/google.translate
index 06c6a5a8..a8ccd8cc 100755
--- a/util/bin/google.translate
+++ b/util/bin/google.translate
@@ -7,6 +7,7 @@ tl=${TL:="en"}
usage(){
echo 'TL= targetlanguage, valid strings are in the style of "en", "pl" or "de". default "en"'
echo 'SL= sourcelanguage, same TL, default is auto'
+ echo 'valid languages: https://cloud.google.com/translate/v2/using_rest#language-params'
echo 'Example: TL="de" ./translate.google "whats up?"'
exit 0