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.

Sun Mon Tue Wed Thu Fri Sat
- 11:00 – 15:00 11:00 – 15:00 11:00 – 15:00 11:00 – 15:00 11:00 – 15:00 -
- 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 -

Supporter timezone: Europe/Rome (GMT+01:00)

Tagged: 

This topic contains 12 replies, has 2 voices.

Last updated by antonyS-6 11 months ago.

Assisted by: Laura.

Author Posts
November 21, 2023 at 11:20 am #14885807

antonyS-6

Can we then focus on ACF blocks and links not always being translated. This is via automatic translations

2. ACF blocks are intermittently translated. Some are and some are not no pattern to it

3. Links in ACF block so are not being translated but some are. Have installed and run sticky links a couple of months ago and this seem to sort some after running a scan but come back to project now so further investigating. Running a Stick Link scan again now but no new pages so not sure why it did work before. But even in a single ACF block in same content section 1 link is translated but the other is not. Some are just in WYSWG fields, some are in link fields. I have noticed some have got GET parameters in the URL could this be the issue and if so is there a workaround to make this work?

November 21, 2023 at 11:29 am #14885937

Laura
Supporter

Languages: English (English ) Italian (Italiano )

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

By default Link and URL field are set to "copy", while WYSIWYG is set to "translate" so this could explain why some links are translated and others aren't.

If you want full control on the fields you need to use the Expert option https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/expert-translation-option/

About some blocks are not translated, might it be this issue?
https://wpml.org/errata/acf-block-clone-field-value-lost-when-same-block-added-twice-in-a-post/

If not, please provide more details and some examples, it's impossible to understand what's going on with such a brief description.

November 22, 2023 at 9:02 am #14894091

antonyS-6

We are using expert mode and eveerything is set to translate or copy once. The intermittent translation extends to the same page translations but DE will have translated links and everything but the NL version wont. This is links and text which are in a 1 WYSWYG ACF field in a block. Most of which is in a WYSWYG. They are identical but for some reason 1 version is translated and the other isnt or is only partially.

November 22, 2023 at 5:02 pm #14901227

Laura
Supporter

Languages: English (English ) Italian (Italiano )

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

As for the other issues, I need a staging site to work with, it's not possible to say what's going on without further testing.

November 23, 2023 at 12:55 pm #14908065

antonyS-6

Access details given on "WooCommerce translations do not keep the formatting" ticket.

November 23, 2023 at 6:04 pm #14910865

Laura
Supporter

Languages: English (English ) Italian (Italiano )

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

Can you give me some examples of non-translated blocks?

We have an open issue with ACF blocks (https://wpml.org/errata/acf-block-clone-field-value-lost-when-same-block-added-twice-in-a-post/) but from what you wrote it doesn't seem your case.

November 24, 2023 at 9:29 am #14914917

antonyS-6

So please find the Info page.
German none of ACF blocks translated text or links
hidden link

Dutch translated the ACF text and link fine.
hidden link

November 30, 2023 at 10:10 am #14960561

antonyS-6

Hi Laura do we have any progress on this?

November 30, 2023 at 12:16 pm #14962053

Laura
Supporter

Languages: English (English ) Italian (Italiano )

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

The issue is very likely related to the Sticky Links one, until we don't figure what happened with it we can't check this other one.

We already have a known issue with links in ACF (https://wpml.org/errata/advanced-custom-field-links-inside-wysiwyg-fields-are-not-automatically-translated/) and I don't know how it impact along with the Sticky Links one.

December 7, 2023 at 12:10 pm #15016345

Laura
Supporter

Languages: English (English ) Italian (Italiano )

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

After fixing the languages as explained in https://wpml.org/forums/topic/multiple-issues-with-translations/page/2/#post-14999803 I did a test with hidden link

I did a small change to the English page and send the page again for translation. Now the links are all fixed.
The only one who is still pointing to en-gb is the Finance one, but that page is not translated in German.

Also please note that "Past project" link was wrong as it was pointing to hidden link. The configured permalink structure in Settings > Permalink is /%category%/%postname%/ and that's why it wasn't translating.

I changed the link to hidden link, sent the page again for translation and now it works fine.

Please notice that all the links inside the text/image blocks are added *manually* so if you change the permalink structure you need to edit them manually.

December 12, 2023 at 11:10 am #15044801

antonyS-6

Sticky links are not being applied to ACF blocks. This is same on dev site confirmed on homepage in English.

December 12, 2023 at 1:39 pm #15046525

Laura
Supporter

Languages: English (English ) Italian (Italiano )

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

Yes, Sticky Links do not work inside ACF Blocks. I can create a feature request but we can't provide an ETA.

December 19, 2023 at 8:18 am #15089413

antonyS-6

It seems some pages the links translate automatically, some require the trasnlations resaving and some using the update link targets. Still.