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 1 voice.

Last updated by antonS-31 1 week, 2 days ago.

Author Posts
October 11, 2019 at 1:38 pm #4739027

antonS-31

I am trying to translate pages with ACF fields and ACF Repeaters. Normal ACF fields are fine. ACF Repeaters are translated and appear in translator.

Link to a page where the issue can be seen: hidden link

I expected to see: hidden link (into English!)

Instead, I got: Warning: Invalid argument supplied for foreach() in /home/topforma/public_html/wp-content/themes/topForma/home.php on line 89

For the non-repeater fields I use $pageID = apply_filters( 'wpml_object_id', 2, 'page' ); in order to get the translated version of the field and it works fine.

I have read the documentation and I'm confused as to repeater fields should be set as "copy" and what "translate".

I've made screenshots attached here: hidden link

Additional - I'm using SG Optimiser plugin for cache on SiteGround hosting.

October 11, 2019 at 1:57 pm #4739255

antonS-31

My issue is resolved now.

I found this video from Konrad: hidden link

I would say it's very counter-intuitive to work with the SYSTEM FIELDS and as you can see I have over 100 fields and it's very difficult to navigate and organise.