Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Dražen Duvnjak 8 months, 1 week ago.

Assigned support staff: Dražen Duvnjak.

Author Posts
May 19, 2021 at 11:15 am #8798983

Gianluigi

Hello,hen I read the pages from the rest I find no reference to the language and the report of its translation. Same thing happens when I create a new page with the parameter "lang" and value "en". The page he creates is always in Italian "it"

May 19, 2021 at 12:17 pm #8799691

Dražen Duvnjak
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello Gianluigi,

thanks for your patience.

I was able to replicate the issue on the test site, and it seems this is expected. For now, we only fully support REST API for WooCommerce. You can not use "translation_of" for pages or connect them as translation via Rest API.

What I can do is suggest the next steps:

1) Please suggest this feature to our developer team via our form. We read all feature requests we receive and consider each and every one of them.

- https://wpml.org/suggest-a-new-feature-for-wpml/

2) Try workaround used/suggested by our other WPML clients with the same issue:

- https://wpml.org/forums/topic/adding-translations-via-wpml-using-rest-api/#post-4691557
- https://wpml.org/forums/topic/adding-translations-via-wpml-using-rest-api-3/#post-8071967

Please note these workarounds have not been tested by us nor can we officially support it.

Hope you understand.

I hope I was helpful. Don't hesitate to ask if you find any problem along the way, I'll gladly help you.

Regards,
Drazen