what do you mean for api language?
as far as I know the api is language-agnostic, it “only” send and receive WP contents.
Or do you want to get/post content in different languages based on user choice (maybe thanks to plugins like WPML or similar?)
(the more information you provide on your context and what you want to make, the more probability to get useful response you get)
Stefano
Hi Stefano,
Thank’s for reply,
i want to get/post content in different language as per user choice. can WPML plugin provide it?
example:
Request Url :
(GET) http://localhost:81/wordpressapi/wp-json/wp/v2/posts/1?lang=fr
above url get posts result in french language.
I know very little about WPML, I think your best choice is to ask on the WPML forum if and how they support the REST API.
Stefano