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: Africa/Cairo (GMT+02:00)

This topic contains 7 replies, has 2 voices.

Last updated by Osama Mersal 6 months, 3 weeks ago.

Assisted by: Osama Mersal.

Author Posts
April 22, 2024 at 12:07 pm

basK-12

Wordpress with custom thema and blocks made with ACF.
So we have two languages on our site. On the site we have a lot of intern links to other pages, these links have the setting ‘translate’ in acf fields.

April 22, 2024 at 12:27 pm
April 22, 2024 at 1:27 pm #15550763

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Please login to this sandbox site and add only the problematic block code. (hidden link)

After that, please create a test page/post using this block and translate it to replicate the issue.

Thanks for your cooperation

Best regards,
Osama

April 23, 2024 at 9:12 am #15554573

basK-12

Hi,

I cannot re-create the same block with ACF on a sandbox. Because I need to use our block te replicate the problem, and we cannot install and upload our theme with the ACF blocks we use. So at the moment we have 2 issues. 1. is the url field is not visible in the Translate editor. 2. the website has 100 internal links that are not auto replaced with the correct url.

April 23, 2024 at 12:22 pm #15555848

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I added the block to WordPress's default theme. Please check if the URL works correctly. (hidden link)

Best regards,
Osama

April 23, 2024 at 12:45 pm #15555973

basK-12

hi,

Yes is the the page with the block added: WPML TEST Page 2
Now when I open the translation editor for other language the url is not visible. that's problem 1. Can you check this?

Thanks.

April 23, 2024 at 12:49 pm #15556022

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I was able to find the link by searching for it. Kindly check this guide. (https://wpml.org/faq/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor/)

Best regards,
Osama

2024-04-23_14-48-53.jpg
April 23, 2024 at 1:04 pm #15556140

basK-12

Hello,

I tested your page 'WPML TEST Page 2', but I cannot edit the url (or label) in the button field. It seems not to save the field. We also tested the changes on our staging website and there it is also not working. So I tried the search funcition, also no result for the edited url.

April 23, 2024 at 1:11 pm #15556195

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

I think it works correctly on the sandbox site. Please check this video. (hidden link)

On your site, the search function doesn't help translate the URLs. Please try to install this theme and check if it will work correctly. (hidden link)

Best regards,
Osama

The topic ‘[Closed] Translate ACF URL field’ is closed to new replies.