Factorize error message, use bottstrap and i18n