Background of the issue:
I have custom taxonomy using Toolset plugin and one item with translations. The URLs for the items are hidden link and hidden link. I want to find the connection between them (different translations of one item) via API.
Symptoms:
No documentation found on the topic.
Questions:
How to get a connection between translations of custom taxonomy via API?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
Sadly WPML does not yet fully support the WordPress REST API, but you are able to use a language parameter, if you need to check for content created in a second language.
Example for English Posts: hidden link
There is no connection between original content and translation inside the REST API.
With WPML each translation has its own ID. The following hook allows you to the ID of a content in the current language or in another language defined as argument: