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
- 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by Waqas Bin Hasan 2 days, 19 hours ago.

Assisted by: Waqas Bin Hasan.

Author Posts
February 17, 2025 at 9:08 am

avia-4

Background of the issue:
I am trying to use an ACF URL field with the WPML plugin on my site hidden link. The URL field has a copy setting that is supposed to display the matching link in translated languages.

Symptoms:
The URL field with the copy setting does not receive the correct link and displays the same link in both languages.

Questions:

February 17, 2025 at 11:22 am
February 17, 2025 at 12:48 pm #16714293

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

I am still working on this and 'll get back to you as soon as I find something or have a solution.

February 17, 2025 at 2:46 pm #16715107

avia-4

did you set back the wpml to old version
hidden link

February 18, 2025 at 7:15 am #16717003

avia-4

what about my issue?

February 18, 2025 at 7:23 am #16717032

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

No I only updated ACFML while left the other plugins as they were. I am working on this and 'll get back to you accordingly.

February 18, 2025 at 7:29 am #16717042

avia-4

thanks, do you know how long it will take? because i need to work on my dev site...

February 18, 2025 at 7:56 am #16717100

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

I checked our forums and discussed with the team, that "txt_link" needs to be set to "Translate" in that repeating sub-fields group. So I set it to translate, then edited the home page and made a little change (i.e. added ... to one of the text labels) and saved. This triggered a new change in translation.

I then updated the translation in ATE and searched for the link. And then corrected with the translated link for that product.

After that it is working fine on the frontend (hidden link).

I also checked for the impact of this change in other places as you had mentioned that it might cause a problem, but since this is the only field and it is being used in a designated place, it hasn't caused any problem.

Attached are the screenshots for the changes I made.

For the change made in home page (i.e. ... three dots to trigger the update), I've removed and updated the translation again.

Screenshot 2025-02-18 125624.jpg
txt_link.jpg
Screenshot 2025-02-18 124734.jpg
Screenshot 2025-02-18 124729.jpg
February 18, 2025 at 8:30 am #16717292

avia-4

i wanted also to check, i have another problem maybe its relater to this one, i have a lot of product that i can see the acf field not translated in product page and after inserting the wpml editor and just saving without changing anything, it display in hebrew.
you can see this product for example, if you scroll down you will see english description
hidden link

hidden link

if you wiil enter wpml editor and saving, it will be display in hebrew but i have 4000 products and i can't enter every product and saving for displaying the translation.

February 18, 2025 at 8:45 am #16717380

avia-4

i see your response
i just want to understand
the wpml don't know to automatically translate acf url field to match link?
i don't have choice and need all this kind of field to change to translate instead of copy and to translate in wpml editor?

February 18, 2025 at 9:16 am #16717481

avia-4

can you please answer me?

February 18, 2025 at 12:41 pm #16718886

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Sorry for the delay, I'm dealing with other issues in the tickets also, so please bear with me.

Internal links are adjusted automatically to their corresponding translated links, if the target content has been translated and published. This is the usual case.

However, in some cases, specially with this repeater field, which is a sub-field in another sub-repeater group, a "copy" setting just copies the same default link to the translated versions.

So it needs to be set to "translate".

Given that, if you translate your content automatically, it should be translated. For the existing content, where this has been used and needs to be fixed, you can either update manually (as I mentioned previously) or can resend your content for automatic translation. Since most of the content has already been translated, only the new change may cost you very little to no credits, due to the translation memory feature.

For the other issue regarding the products vs ACF field, I recommend opening a separate ticket/chat because as per forum policy we can only handle one issue per ticket. So you can get more to the point help, without mixing up several issues in one long ticket.