We want to create a post and also maped with another translate version post.
Create multilang post/product with rest api. Mapping with each other post.
Rest Api Post Request:
- for post: http://wp-test.test/wp-json/wp/v2/posts/current_post_id?lang=current_post_lang&translations[en]=translate_en_post_id
- for post: http://wp-test.test/wp-json/wp/v2/posts/72?lang=de&translations[en]=1180
- for product: /wp-json/wc/v3/products/189?lang=fr&translations[en]=174