Home›Support›English Support›[Waiting for user confirmation] "This field value is copied from the default language and will be kept in sync across languages." ...
[Waiting for user confirmation] "This field value is copied from the default language and will be kept in sync across languages." ...
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.
Background of the issue:
I am trying to sync links in custom fields across different languages using WPML. The issue can be seen on this page: hidden link. I expected the button in the Call To Action at the bottom of the page to point to a target page in the correct language. WPML's tooltip indicates that the field value should be copied from the default language and kept in sync across languages.
Symptoms:
The button in the Call To Action does not point to the target page in the correct language. Instead, clicking the Read More button on all three language versions of the CTA leads to the English version of the targeted page.
Questions:
Why are the links in custom fields not syncing correctly across languages?
How can I ensure that the Call To Action button points to the target page in the correct language?
You can set custom fields' translation preference to "Copy once" or "Translate", so then these aren't synced based on default language, but, are available for translation.
After setting field preference, please try these steps:
- Open the content having that field in default language for editing.
- Make a small change in the content.
- Save.
- Update the translation. When translating, this should include the custom field which you can then translate accordingly.
Yes of course internal links should be taken care by WPML. However, as per my understanding this depends on how the field or widget being registered by the theme or plugin (which is responsible for bringing this functionality into the site).
However, I need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.
Your next answer will be private, to share this information safely.
Also provide detailed steps to reproduce the issue and links to pages in the admin and on the frontend.
IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.
Thank you for the access, I was able to login and check for the said problem.
In fact, there's no problem, because you're using WordPress editor for translating hidden link. So in this case, WPML does nothing and you've to translate all the content on your own.
However you need this field to set to "Copy once" in WPML -> Settings -> Custom Fields Translation, so you can edit the field value in the translation and add the desired translated link. Otherwise, if you keep it as "Copy", then upon saving, it 'll be synced with default language and you'll always have the default language link.