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.

Tagged: 

This topic contains 11 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 8 months ago.

Assisted by: Prosenjit Barman.

Author Posts
July 29, 2023 at 1:32 pm #14121421

tillB-3

I am having an issue with 3 ACF fields – all of them 'stuck' to "readonly", although they are all set to "translate". The german interface is fine, those fields are only readonly in the english interface. I have attached two screenshots showing the field "Ticket-Link-URL" in readonly mode and the related wpml setting for that field.
Is there any other setting i might have missed that may tell the fields to be in readonly-mode?

The affected website is hidden link

Thank you very much!
Kind regards
Till Bortels

August 1, 2023 at 5:49 am #14130363

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Till,
Thanks for contacting WPML Support. Sorry for the delay in responding due to the weekend.

I completely understand what you're looking for. An ACF field will appear disabled in other languages if the translation preference for that field is set to "Copy". From the screenshot, I can see the translation preference for the link field is set to "Translate" but the WPML debug information says that the translation preference for that specific field is set to "Copy" in the system, which might be causing the issue.

Please follow the steps mentioned below and check if that helps to solve the issue.

- Go to "WPML > Settings" and scroll down to the "Custom field translation" section.
- Click on the "Show system fields" link
- Now, enter the field name in the search box
- Set the translation preference for the "_ticket_link_url" system field to "translate"

Please try and let me know if that helps to solve the issue. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

August 1, 2023 at 8:17 am #14131181

tillB-3

Hello Prosenjit,

thank you very much for your prompt and detailed response! I didn't really expect my issue to be solved over the weekend – but i thought I'll gibe it a try anyways… 🙂

I tried what you suggested – however the issue still remains. I have again attached two screenshots documenting the current situation. What next?

Thank you!
Best regards
Till

PS: Would it be safe to see what happens if i set *all* the system fields to translate?

PPS: I would also like to delete the previous screenshot that shows some content, if that is possible? Thank you!

Screenshot 2023-08-01 at 10.13.39.png
Screenshot 2023-08-01 at 10.11.21.png
August 2, 2023 at 5:50 am #14138819

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Till,
Thank you for trying out the suggestion.

The preference for the translation of the system field is determined by the plugin or theme with which the field is associated. Although it is not recommended to change the default value, but if there is really a need, you can change the translation preference of those custom fields only generated from ACF. I hope you can understand.

However, as the issue persists even after updating the translation preference, I would like to take a closer look to understand the root cause. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.

You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please make a backup of site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to your response.

Best Regards,
Prosenjit

August 7, 2023 at 9:15 am #14162199

tillB-3

Hello Prosenjit,

thank you for your reply! I have Duplicator Pro installed – and I just made another backup. I don't see any wp-admin/FTP fields – so I won't provide any details here. But if you provide me with those fields in the next message I'll be glad to give you access to the site. If you should encounter 'bigger issues' i would be glad to set up a dev environment for you. Please let me know how we should proceed.

best regards
Till

August 8, 2023 at 5:14 am #14166735

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Till,
I hope you're doing well.

The private field was indeed activated in the previous response. I'm not sure why it didn't appear for you. However, if you have a development site where the issue is replicated, it will be better if you could share access to that site instead of the production site. I may need to check by applying troubleshooting methods which will not be possible if your site is in production.

Kindly share an access to the dev site along with the page/post where you're having the issue. I will check and get back to you with an update. I enabled the private fields for you so that you can securely share the access.

Looking forward to your response.

Best Regards,
Prosenjit

August 18, 2023 at 6:36 am #14249755

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Till,
I hope you're doing well. Thanks for sharing the access information.

When I tried to log in, I receive a notification stating, "User is not activated." Please check this screenshot for a better understanding: hidden link

Would you kindly activate the account so that I can access your site? Also, make sure to assign admin privileges to the account.

Let me know when it is done so that I can start inspecting the issue. Looking forward to your response.

Best Regards,
Prosenjit

August 18, 2023 at 7:57 am #14250521

tillB-3

sorry about that – the account should be activated. I hope it works now?
best
Till

August 21, 2023 at 3:12 am #14259559

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Till,
Sorry for the delay in responding due to the weekend.

Unfortunately, the password is not working this time. Could you please verify and provide the correct credentials? I'll keep this ticket open so that once I receive the correct information, I can begin troubleshooting immediately.

Please note, I enabled the private field for you to safely share the credentials. Additionally, it would be beneficial if you could provide a link to a specific page where I can check the issue with the URL field.

Looking forward to your response.

Best Regards,
Prosenjit

August 24, 2023 at 9:40 am #14283237

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Till,
I hope you're doing well.

Unfortunately, the site you shared in the private message was showing a 404 error. However, the access credentials worked properly on the staging site[ hidden link ] you initially shared in the first private message. So, I investigated that site and successfully been able to trace the root cause.

Upon inspection, I noticed that the ACF Field group is set to 'Translatable' under "WPML > Settings > Post Type Translation." It's generally advised to set the ACF field group post type to "Not Translatable." Marking the field group as translatable is only necessary if you aim to translate the ACF interface, which is typically not needed.

I changed the translation preference for the Field group post type to "Not Translatable" and that solves the issue. Now you can add the link manually in other languages.

Relevant Doc- https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/expert-translation-option/#field-group-translation-settings

I hope you can understand. Please let me know if there is anything else you need help with. I will be happy to assist you.

Best regards,
Prosenjit

August 24, 2023 at 12:51 pm #14285799

tillB-3

Hello Prosenjit,

thank you for taking a closer look at the issue. Unfortunately it appears not to have solved the problem entirely. At least on this page for example the fields are still blocked in the english version:
/wp-admin/post.php?post=7783&action=edit&lang=en

( I didnt want to post the website url again – I hope you find the page anyway? )

August 25, 2023 at 6:17 am #14288923

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Till,

I can understand. As you're manually adding the translation from the Default editor, Could you please ensure that the translation setting for those fields is set to "Copy Once"? You can verify that by accessing the fields within the relevant field group.

Since the credentials are not working anymore, I was unable to perform the check. If the issue persists even after that, would you kindly share the access information again so that I can take another closer look?

Private field is enabled for you to securely share the access.

Best regards,
Prosenjit