[lang] implement translation of error msg