msgfmt.pl: 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.pl - from package: perl-Locale-Msgfmt

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