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 Laura 4 months ago.

Assigned support staff: Laura.

Author Posts
June 14, 2019 at 9:22 pm #4024269

ryanS-16

Hello,

We have a few custom post types that are set to be translated and their ACF fields are also set to be translated. I've entered in dummy translations and when I view the translation from the REST API endpoint, it shows the same content as the English version.

EN: hidden link (nationality: Canadian)
FR: hidden link (nationality should say Canadienne but says Canadian)

The default post type does show the correct content when viewing the REST API endpoints.

June 15, 2019 at 3:46 pm #4028231

Laura
Supporter

Languages: English (English ) Italian (Italiano ) Portuguese (Brazil) (Português )

Timezone: Europe/Rome (GMT+02:00)

Hi,

thanks for contacting us.

Your issue seems similar to the one described here: https://wpml.org/forums/topic/the-acf-data-displays-in-the-default-language-feed-but-not-in-other-languages/

There is a workaround in the ticket, could you try it and see if it works for you?

The topic ‘[Closed] REST API not showing WPML Translations for Custom Post Types’ is closed to new replies.