include libintl for gettext
Fix typo
fix stream with clang
fix potential pb with stl to_string