supports i18n in error message
Merge pull request #6 from y-yagi/i18n_error_msg

supports i18n in error message