Looking for a bash/sh script to translate a word with Internet (no package to install
Hello,
I would be glad if someone would have any ideas to translate a word with Internet (no package to install)? Simple wget would be great :) here some packages http://ubuntuforums.org/archive/index.php/t-359574.html Many thanks Happy Tux |
Hello,
From what language to what language are you looking to translate? Cheers, Josh |
Never mind my last post, you just gave me a project ;)
-Josh |
Quote:
( I usually try to avoid bash, and prefer sh for wider compatibility) |
Well before I decide to actually do it, I dug around a bit, and came across this - https://savannah.nongnu.org/projects/twandgtw/
What do you think of that? |
I found this on the Arch forums; it basically sends off $1 to Google Translate, GT translates the phrase/word/whatever (from the language you specify as $2; autodetect otherwise), then it snips out the actual translated word(s) from the wget'd page.
Code:
#!/bin/bash Hope this helps. :D |
Quote:
Text to speech! :D |
Quote:
We gotta make a $1, $2, ... for making our own script in an *.sh Ipgeo.sh indeed rocks, and it says how to use it ;) nice job |
Well what exactly do you want in this script?
|
Quote:
|
I've improved the little "Google Translator script" thingy…it's in my LQ blog. :D
|
Quote:
|
Quote:
Anyway, as to your "one-up": you can just pipe the output of my blog script to espeak and have it speak out the translation. :D :p |
Actually, I thought of something else dude....
Code:
#!/bin/bash |
Damn you and your ideas....
Code:
|
All times are GMT -5. The time now is 09:10 PM. |