summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
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