Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was unable to update the translation for an Advanced Custom Fields (ACF) field; although it appeared correctly in the admin area, it did not reflect on the product page in Spanish.
Solution:
We identified that the string "Características y ventajas" on the product page was not an ACF field group title but was configured in the Yootheme product template. To translate this, we recommended the following steps:
1. Navigate to WPML > Settings and add the custom XML configuration code to register the theme option for translation:

<wpml-config>
  <admin-texts>
    <key name="yootheme"></key>
  </admin-texts>
</wpml-config>

2. Go to WPML > String Translation and translate the item title in the option string under the domain "admin_texts_yootheme".
We also provided a link to the documentation for further assistance: https://wpml.org/documentation/support/language-configuration-files/translate-strings-in-wp-options-table/

If this solution does not apply to your case, or if it seems outdated, we encourage you to check the related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket at our support forum.

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 3 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 9 months ago.

Assisted by: Long Nguyen.

Author Posts
March 27, 2024 at 2:45 am #15453414

mariiaE-2

Hi!

4. I still can't manage how to update ACF translation, it's ok in the admin area, but on the product page everywhere in Spanish
hidden link

March 27, 2024 at 3:17 am #15453419

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English ) Vietnamese (Vietnamese )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

The string "Características y ventajas" on the product page is configured in the product template: Yootheme > Template > Single Product > Accordion > Items product > Title. It's not the ACF field group title.

You can follow steps below to translate the accordion item title:

1. Go to WPML > Settings > Add the custom XML configuration code below to register the theme option for translation:

<wpml-config>
  <admin-texts>
    <key name="yootheme" />
  </admin-texts>
</wpml-config>

2. Go to WPML > String Translation > Translate the item title in the option string under the domain "admin_texts_yootheme".

Refer documentation https://wpml.org/documentation/support/language-configuration-files/translate-strings-in-wp-options-table/

Looking forward to your reply.
Thanks

Website Builder < Audio Marino — WordPress 2024-03-27 09-54-25.png
JBL A1504 Marine Amplifier – Audio Marino 2024-03-27 10-16-37.png
Screenshot 2024-03-27 at 09.57.02 2024-03-27 09-57-41.png
April 4, 2024 at 10:27 am #15482327

mariiaE-2

Hello, Long Nguyen!

Thanks you for your kind assistance! But this solution breaks the templates 🙂
So I made an ACF field for the accordion name, tried to changed it to dynamic in Yootheme, but I can make nothing... it's every time 503 error, do/did you have the same problem?

And if not, may i kindly ask you to save this changes?..

Screenshot 2024-04-04 at 12.22.10.png
Screenshot 2024-04-04 at 11.32.28.png
April 5, 2024 at 10:30 am #15487328

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English ) Vietnamese (Vietnamese )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I don't see the 503 error, I can save the changes and the translation title displayed as well in the English language.

Thanks.

JBL A1504 Marine Amplifier – Audio Marino 2024-04-05 17-29-35.png
Amplificador marino JBL A1504 – Audio Marino 2024-04-05 17-22-58.jpg