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 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 4 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 1 month ago.

Assisted by: Prosenjit Barman.

Author Posts
April 23, 2024 at 2:04 am #15553328

emmaS-15

Tell us what you are trying to do?
Correct the spelling mistake ""Per Seat Annual Subcription Plan" to "Per Seat Annual Subscription Plan", for translations /gb and /au

Is there any documentation that you are following?
Yes, https://wpml.org/documentation/getting-started-guide/translating-custom-fields/ and https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/ which shows a 'NEW' translation, not how to update translations after initial "Copy Once".

Is there a similar example that we can see?
The update to the base nz language works, but the translations are not firing.. probably due to 'Copy Once'.

What is the link to your site?
It's a local site.

Screenshot 2024-04-22 at 6.58.26 PM.png
Screenshot 2024-04-22 at 6.58.38 PM.png
April 23, 2024 at 11:32 am #15555521

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

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

Hi There,
Thanks for contacting WPML Support.

I understand what you're looking for. If the translation setting for the field is set to "Copy Once," this means that the content will only be copied over to the translation once, during the initial translation. After that, you'll need to manually update the translation by accessing and editing the translated version in the editor.

Please check this link for more information about the "Copy Once" setting: https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/recommended-custom-fields-translation-preferences-for-acf-and-wpml/#:~:text=Advanced%20Translation%20Editor.-,Copy%20Once,-%E2%80%93%20This%20option%20copies

To manually update the translation of existing content, follow these steps:

- From your WordPress Dashboard, use the language switcher in the top bar (hidden link) to switch to the language you want to update.
- Then, find the page with the translated custom field and open it in the WordPress editor.
- Make the necessary text adjustments and save your changes.

Please let me know if the information helps or if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

May 5, 2024 at 3:44 am #15593892

emmaS-15

Hello thanks for the update.. when i go to the page to be fixed:
hidden link

I see that it's a shortCode:
[woocommerce_cart]

The original locale (nz) was at:

hidden link

And allowed me to update the ACF fields... NOTE I did try to force it by typing in:
hidden link

And change the text.. but it doesn't generate the ACF .json for the new text.

TIA
gary

Perhaps I can give you access to our STAGING site at hidden link? What email should I use for this?

May 5, 2024 at 4:12 am #15593896

emmaS-15

Further details:
hidden link

Shows the mis-spelling of 'Per Set Annual Subcription Plan", and when I click on Edit Translation I (finally) get to:

hidden link

But as you can see in the 2nd screenshot, there's no place to correct that mis-spelling as it's an ACF field and not content on the page.

Thank you

Screenshot 2024-05-04 at 9.11.24 PM.png
Screenshot 2024-05-04 at 9.10.10 PM.png
May 6, 2024 at 3:09 am #15594889

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

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

Hello Gary,
Thank you for sharing the update.

I've inspected the cart page and the text seems to be added within your custom theme "Alpha AML." If you've modified the WooCommerce Cart template within your theme, could you ensure that translation support is included for that text? Specifically, the text should be enclosed within the gettext function so that you can translate it from WPML > String Translation. For more detailed instructions, please refer to this guide: https://wpml.org/documentation/support/translating-the-theme-you-created/#using-gettext-functions-in-php

But, if the issue persists, a closer inspection will be required to understand the root cause of the issue.

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 can use any of your mail to create the access.

You will find the needed fields 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.

IMPORTANT
-Please backup 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

The topic ‘[Closed] How to update an ACF field value after updating a 'Copy Once'’ is closed to new replies.