Sorry I am not able to post a new reply in the original topic (3 replies limit) and I can not edit a post
The problem is from one or several files from this directory /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-3.0.1 (maybe the fr one for me)
locale/ca/LC_MESSAGES/hammer-cli.mo
locale/de/LC_MESSAGES/hammer-cli.mo
locale/en/LC_MESSAGES/hammer-cli.mo
locale/en_GB/LC_MESSAGES/hammer-cli.mo
locale/es/LC_MESSAGES/hammer-cli.mo
locale/fr/LC_MESSAGES/hammer-cli.mo
locale/it/LC_MESSAGES/hammer-cli.mo
locale/ja/LC_MESSAGES/hammer-cli.mo
locale/ko/LC_MESSAGES/hammer-cli.mo
locale/pt_BR/LC_MESSAGES/hammer-cli.mo
locale/ru/LC_MESSAGES/hammer-cli.mo
locale/zh_CN/LC_MESSAGES/hammer-cli.mo
locale/zh_TW/LC_MESSAGES/hammer-cli.mo
I replace the directory /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli-3.0.1/local with the 2-4 one, and hammer works