Added support for languages and multiple errors