added translations for error messages. fixes #5