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.
Tagged: Custom Work
This topic contains 1 reply, has 0 voices.
Last updated by jeony 1 day, 22 hours ago.
Assisted by: Dražen.
Author | Posts |
---|---|
March 15, 2025 at 12:53 pm #16819824 | |
jeony |
Background of the issue: Symptoms: Questions: |
March 17, 2025 at 8:02 am #16823240 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks for contacting us. Creating post and page translation using Rest API is not tightly integrated with WPML yet. You can use the language parameter to create a translation (?lang=fr) however, it will still need some custom work to connect the translation with the original content of the post/page. There is a custom workaround a WPML user shared before sometime ago. other users reported that is working great, but keep in mind that this is not coming from WPML so we cannot support it:
You can use our hooks to add a few more functionalities: NOTE: While this is a great workaround always have a backup in place when using custom code either provided by us or another member of this forum. Regards, |
March 22, 2025 at 6:07 am #16846873 | |
jeony |
thx |