added i18n file; custome error messages