tsmarty2c: 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 Debian possible default full paths are:

/usr/bin/tsmarty2c - from package: smarty-gettext

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