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 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 |
- | - | - | - | - | - | - |
Supporter timezone: America/Lima (GMT-05:00)
This topic contains 28 replies, has 3 voices.
Last updated by Andreas W. 1 year, 7 months ago.
Assisted by: Andreas W..
Author | Posts |
---|---|
March 17, 2023 at 7:30 pm #13272605 | |
Chainalysis |
Tell us what you are trying to do? If we upgrade to ACFML 2.x, how can we opt-out of field label translations and field choice translations? Is there any documentation that you are following? Is there a similar example that we can see? What is the link to your site? |
March 18, 2023 at 7:31 am #13274363 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, The new ACFML Translation Mode is pre-configured and is dedicated to clients, that want a preset setup and no need for customizing translation preference settings. The only way to control all fields is by switching to Legacy Mode (Expert). Best regards |
March 20, 2023 at 12:25 pm #13283693 | |
Chainalysis |
Hi Andreas, how may I switch to Legacy mode and opt out of the label translations? When I search for "ACFML legacy" on wpml.org, I don't find any relevant documentation. |
March 21, 2023 at 3:52 pm #13295261 | |
alexC-33 |
I'm having the same problem from updating from 1.10.4 to 2.0.2. Whenever I translate a page now, I'm presented with all the admin field labels and instructions etc. I only want the translation screen to present the field values. Is there a quick and easy way this functionality can be disabled, otherwise I'm going to have to downgrade back to 1.10.4. |
March 21, 2023 at 9:21 pm #13297997 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, On ACF you can determine how each Field Group should be translated on Custom Fields > Field Groups: The Legacy Mode should be called Expert mode now - it is the only mode that lets you configure the fields on your own, the same as it was before ACFML 2.0. Documentations: I hope this helps, if not, please let me know. Best regards |
March 22, 2023 at 9:48 am #13302783 | |
alexC-33 |
From what I can see, I have to update all my ACF fields to tell WPML not to translate the 'admin text' (labels/instructions etc) ? I've got a *lot* of fields, so it'll take absolutely ages for me to update them all. Is there no other way to do this? |
March 22, 2023 at 8:54 pm #13309227 | |
Chainalysis |
Andreas, thank you for the info but I think that I'm not understanding a key step here. These are the three links you shared: This page explains how to translate field labels, and explain the option to translate via the ATE or string translations. But it does not seem to include instructions that enable me to opt out of label translation completely. This page seems to indicate that if a field is set to be Translatable, then the labels will be translatable. It does not seem to explain how to opt out of label translations, while still being able to translate field values. This page doesn't seem to mention the word "label" at all, so I'm not sure how this might help me to opt out of label translation. ... To be clear, I would like to continue to translate field values but I would like to opt out of translating field labels. The ACF field labels are not relevant to our translation work, which we perform almost exclusively in the ATE. being forced to translate ACF field labels will add complexity and increase the price of automated translations, while adding no value to us. So this is why we would like to opt out of this label translation feature, please. |
March 22, 2023 at 9:32 pm #13309467 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, ACFML has a new mode called "Same Fields across languages": If you use this mode, then labels will be included in the WPML Translation Editor. If you use the mode "Different fields across languages", then the labels should not show up on the WPML Translation Editor but can optionally be translated on WPML String Translation. Also, you can use the Expert mode, which is the same Legacy Mode, that ACFML used to use in the past, without any predefined settings from our side. I hope this clarified the issue, but if not, or if you experience some unexpected issues, then please let me know. Also, take note, that if you change the settings while you still have open jobs in the translation queue, you will need to complete "In progress" translation jobs first in order to see new settings applied in the next translation job for this content. Best regards |
March 23, 2023 at 8:25 am #13312027 | |
alexC-33 |
All my field groups are set to 'Expert'. This was what they were set to by default after updating. Even though they are 'Expert', I still see the field labels showing up when translating. When I try changing a field group to 'Different fields across languages', I get the following notice when trying to update a translation: "You need to translate this post manually because the field groups attached to it use different translation options." No matter what I try, the labels always seem to show up. With every test I perform I am making sure to avoid any "In Progress" jobs, as I know this will preserve fields even if I change settings. |
March 24, 2023 at 9:04 pm #13326691 | |
Chainalysis |
Hi Andreas, I'm bumping this ticket because I wasn't able to work on this yesterday or today, and I don't want the ticket to close automatically. Will be in touch on Monday, thank you. |
March 25, 2023 at 1:51 am #13327401 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, Please take note that we have published a workaround that allows excluding label translations from the WPML Translation Editor: Anyhow, please take note, that according to the design of the new ACFML labels should get translated this way, if you use "Same fields across languages". Best regards |
March 27, 2023 at 8:46 pm #13343127 | |
Chainalysis |
Thank you, Andreas. I'll give this a try on a test environment, and will report back. |
March 28, 2023 at 4:05 pm #13351351 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, Thank you, please let me know if further assistance is needed. Best regards |
March 31, 2023 at 8:48 pm #13378803 | |
Chainalysis |
Hi Andreas, I've re-upgraded to ACFML 2.x and commented out that line as you instructed. I also deleted all of the existing acf-* string translations such as the "acf-field-group-4661" domain. However, within WPML > Translation Management, I still see dozens of ACF Field Group translations available, such as "Field Group Labels 4661". How can I remove these labels from the list? |
March 31, 2023 at 10:09 pm #13379259 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, You can go to WPML > String Translation, filter by text domains and delete the strings from there. Or we could take a closer to the DB and use some mySQL queries on the table icl_strings and icl_string_translations? Best regards |
The topic ‘[Closed] ACFML 2.0: How can we opt-out of field label translations?’ is closed to new replies.