summaryrefslogtreecommitdiffstats
path: root/util
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
parent7958dc4e3e1cf7eea79cc587ed6b98cdabc71893 (diff)
google-utils: add language reference
Diffstat (limited to 'util')
-rwxr-xr-xutil/bin/google.text2speech1
-rwxr-xr-xutil/bin/google.translate1
2 files changed, 2 insertions, 0 deletions
diff --git a/util/bin/google.text2speech b/util/bin/google.text2speech
index 061bb1c8..cd387cc0 100755
--- a/util/bin/google.text2speech
+++ b/util/bin/google.text2speech
@@ -5,6 +5,7 @@ TL=${TL:="en"}
usage(){
echo 'TL= can specifiy which language to use, default is "en"'
+ echo 'valid languages: https://cloud.google.com/translate/v2/using_rest#language-params'
echo 'Example: TL="de" ./text2speech.google "whats up?" | mpv -'
exit 0
}
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