publish: use lang obj from response

generated from commit 471c6f089ce100353a65db3411af876cb136653a