msgfmt: 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/msgfmt - from package: gettext

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

On Debian possible default full paths are:

/usr/bin/msgfmt - from package: gettext

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