This thread is resolved. Here is a description of the problem and solution.
Problem:
The client wants the button text to be translatable and the link to automatically adjust to the translated version of the page. They are unsure which translation preference to use for achieving this functionality.
Solution:
We recommend using the following approaches:
1. Set the translation preference to 'Translate' and use the Advanced Translation Editor to translate the URL. For detailed guidance, refer to how to translate URLs using the Advanced Translation Editor.
2. If you choose to use 'Copy Once', you can manually translate the button text and URL using the WordPress editor. However, for automatic URL adjustments and button text translations, using the 'Translate' option with the Advanced Translation Editor is the best approach.
Additionally, you can follow the discussion and solutions provided in this forum thread: WPML filter hook for ACF fields link translations.
If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please open a new support ticket.
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.
This topic is split from https://wpml.org/forums/topic/translating-a-relationship-field/
This topic contains 4 replies, has 2 voices.
Last updated by 3 days, 6 hours ago.
Assisted by: Long Nguyen.