Title: rest api post set Language
Last modified: August 30, 2016

---

# rest api post set Language

 *  Resolved [Goharika](https://wordpress.org/support/users/goharika/)
 * (@goharika)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/rest-api-post-set-language/)
 * Hi I need help connected with posting.
    If we can get all posts for specific 
   language in this way URL/ru/wp-json/wp/v2/posts , so if I want to create new 
   post with this language I should post my json to this URL? So I am doing it, 
   but I can see in admin panel that it doesn’t set the language for the post as
   russian, it set english as default language in admin panel. What am I doing wrong?
 * [https://wordpress.org/plugins/qtranslate-x/](https://wordpress.org/plugins/qtranslate-x/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Goharika](https://wordpress.org/support/users/goharika/)
 * (@goharika)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/rest-api-post-set-language/#post-6693738)
 * I find solution. When we are posting json data for creating new post we shouldn’t
   add language in the URL, we need to add it before title and content in the json.
   For example [:en] [:es] and etc.

Viewing 1 replies (of 1 total)

The topic ‘rest api post set Language’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/qtranslate-x_f9f9f9.svg)
 * [qTranslate X](https://wordpress.org/plugins/qtranslate-x/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/qtranslate-x/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/qtranslate-x/)
 * [Active Topics](https://wordpress.org/support/plugin/qtranslate-x/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/qtranslate-x/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/qtranslate-x/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Goharika](https://wordpress.org/support/users/goharika/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/rest-api-post-set-language/#post-6693738)
 * Status: resolved