Update language of html document for validation