Improved error handling, in the case, that the translation statement does not contain a key attribute or valid key