Adds support for multilingual error messages