add locale and replace error fields show