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: Documentation request
This topic contains 9 replies, has 2 voices.
Last updated by Christopher Amirian 1 year, 8 months ago.
Assisted by: Christopher Amirian.
Author | Posts |
---|---|
August 16, 2023 at 11:35 am #14209067 | |
simonB-59 |
I am trying to: edit ACF fields in the main language and have it automatically copy to the other languages and I have set it to in the settings Link to a page where the issue can be seen: I expected to see: |
August 17, 2023 at 1:06 pm #14246521 | |
Christopher Amirian WPML Supporter since 07/2020
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi there, That is an expected behavior. If you change the translation setting of an ACF field, it needs WPML to update the translation to take effect. Notice: I suggest that you have a backup before doing the steps below. One workaround is to select all the pages in the original language in WordPress Dashboard > Pages, and from the top click the edit button to show the batch editing option. Do not change anything and just click the blue update button. That will cause all the original pages to change and change the icon needed for translation, that is when WPML can trigger the changes and copy the info. But the bas side of this is, you will have the need for a translation circle icon showing for all pages. |
August 24, 2023 at 11:38 am #14284461 | |
simonB-59 |
I might need to clarify, we didn't change any wpml settings, it has always been set to copy, we have just started experiencing content not getting through to translations, let say I change some content in a acf field on a options page (the field is set to copy) and press update, then I expect the other translations of that options page to get the content and have it accessible so It changes and the new content is changed in the theme where we are calling on the field |
August 24, 2023 at 11:51 am #14284575 | |
Christopher Amirian WPML Supporter since 07/2020
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi there, For the options page you need to manually save the result in secondary language. We explained the details here: Thanks. |
August 24, 2023 at 11:57 am #14284603 | |
simonB-59 |
Alright, we can't use that solution, can the fields be set to something so our admins don't have to go through each language and press update? what if you had every speech enabled? would you expect them to review your 65 available languages and press update? |
August 27, 2023 at 6:32 am #14295541 | |
Christopher Amirian WPML Supporter since 07/2020
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi there, The method mentioned in the document is for only the options page in ACF. The way the options page is implemented in ACF prevents the auto-update of the settings change and you will need to do as mentioned in the documentation. But that is not the case if the field is inside a custom post type or page or posts. So if the fields were already set to copy on that situation it should reflect automatically on the translated custom post or post or page. Now I wonder what is the context of the issue? Options page or somewhere else? If options page, then yes, you will need to update the translation and other is no other way. But if it is somewhere else we need to do more detailed investigation. If the latter is true, please give us the exact example to check and the login information of the website by making sure that you have a backup of the website first and you need to set the next reply as private. Thank you. |
August 28, 2023 at 7:23 am #14297613 | |
simonB-59 |
What option do you recommend people use if they have global information and settings stored in options pages that need to be kept identical across the languages that is set |
August 28, 2023 at 9:02 am #14298787 | |
Christopher Amirian WPML Supporter since 07/2020
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi there, The only method available is what is mentioned in the documentation I referred to:
Thanks. |
August 28, 2023 at 9:06 am #14298813 | |
simonB-59 |
if the field should always be aligned what should I set them to instead of copy to get the desired on button update across languages |
August 30, 2023 at 9:20 am #14311781 | |
Christopher Amirian WPML Supporter since 07/2020
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi there, If you are talking about the ACF fields inside custom posts, then Copy option will do that. As soon as you update the original language custom post type, it should copy across all languages. If you are talking about the ACF Options page, I already mentioned what to do. Thanks. |