translate: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/translate - from package: libtranslate

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/translate - from package: translate
/usr/share/doc/libhtmlparser-java-doc/examples/bin/translate - from package: libhtmlparser-java-doc

You may install the required package with command apt-get install {package}
Error in other languages:
translate: bevel nie gevind nie
translate: comandă negăsită
translate: comando não encontrado
translate: commande introuvable
translate: command not found
translate: käsku ei ole
translate: không tìm thấy lệnh
translate: komanda nerasta
translate: Kommando nicht gefunden.
translate: kommandot finns inte
translate: komut yok
translate: nie znaleziono polecenia
translate: níor aimsíodh an t-ordú
translate: no se encontró la orden
translate: no s'ha trobat l'ordre
translate: opdracht niet gevonden
translate: parancs nem található
translate: perintah tidak ditemukan
translate: príkaz nenájdený
translate: příkaz nenalezen
translate: команда не найдена
translate: командата не е открита
translate: 命令找不到
translate: コマンドが見つかりません