This thread is resolved. Here is a description of the problem and solution.
Problem:
ACF fields labels are being shown when translating my content, I don't want these labels to be trnaslatable
Solution:
I was able to fix this by adding the following line of code under your wp-config.php :
define( 'ACFML_EXCLUDE_FIELD_GROUP_STRINGS_IN_POST_JOBS', true );
You could read more about it here : https://wpml.org/documentation/support/wpml-coding-api/wpml-constants/#acfml_exclude_field_group_strings_in_post_jobs
This will exclude your ACF field's labels from the translation editor.
Relevant Documentation:
https://wpml.org/documentation/support/wpml-coding-api/wpml-constants/#acfml_exclude_field_group_strings_in_post_jobs
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: Bug, Documentation request
This topic contains 11 replies, has 2 voices.
Last updated by Rut Abrado 1 year, 7 months ago.
Assisted by: Ilyes.
Author | Posts |
---|---|
June 6, 2023 at 2:02 pm #13779419 | |
Rut Abrado |
In the Models custom post type, there are some fields that refers to a file (jpg, svg..) or labels that I don't want to translate because there are the same values for all languages. I configure the settings Custom Fields to "copy" (I also was triying with the option "don't translate") I've created a new post or modified an existing one, and the option to translate the fields are still appearing. Please, could you help me? |
June 7, 2023 at 10:27 am #13784365 | |
Ilyes Supporter
Languages: French (Français ) Timezone: Pacific/Easter (GMT-05:00) |
Hello, I would like to ask for temporary access to your test site’s wp-admin and FTP to investigate the issue further. Kindly provide me with the steps on how to replicate the problem. It is important to note that you should back up your site and database before proceeding, and you can use a plugin like Duplicator for this purpose. Here’s a link to the plugin: http://wordpress.org/plugins/duplicator/ If you do not see the form below, please do not enter your credentials as they will be publicly exposed: hidden link For your privacy and security, please ensure that you make your reply a private one. Thanks, |
June 7, 2023 at 10:58 pm #13789597 | |
Rut Abrado |
Sorry I can't see the credentials form. How can I make a private reply? |
June 8, 2023 at 8:14 am #13790933 | |
Ilyes Supporter
Languages: French (Français ) Timezone: Pacific/Easter (GMT-05:00) |
Hello, I have opened the private form again, you should see it now. |
June 8, 2023 at 6:13 pm #13794993 | |
Ilyes Supporter
Languages: French (Français ) Timezone: Pacific/Easter (GMT-05:00) |
Hello again, I have shared this video to better explain what I found, and it also has a workaround as a suggestion : hidden link Thank you for your patience! |
June 12, 2023 at 8:16 am #13807009 | |
Rut Abrado |
Hello Ilyes, |
June 12, 2023 at 1:06 pm #13809957 | |
Rut Abrado |
Don't worry. I've already updated it. |
June 13, 2023 at 4:18 pm #13819269 | |
Ilyes Supporter
Languages: French (Français ) Timezone: Pacific/Easter (GMT-05:00) |
Hello, I was able to download your site and I will be testing it locally. You should expect an update soon, Thanks for your patience, |
June 14, 2023 at 5:40 pm #13827363 | |
Ilyes Supporter
Languages: French (Français ) Timezone: Pacific/Easter (GMT-05:00) |
Hey, I had to escalate this to our 2nd tier team, Thanks again for your patience! |
June 14, 2023 at 5:44 pm #13827371 | |
Rut Abrado |
Thank You Ilyes I appreciate you. |
June 15, 2023 at 12:55 pm #13832267 | |
Ilyes Supporter
Languages: French (Français ) Timezone: Pacific/Easter (GMT-05:00) |
Hello, Thanks for your patience, I was able to fix this by adding the following line of code under your wp-config.php : define( 'ACFML_EXCLUDE_FIELD_GROUP_STRINGS_IN_POST_JOBS', true ); You could read more about it here : https://wpml.org/documentation/support/wpml-coding-api/wpml-constants/#acfml_exclude_field_group_strings_in_post_jobs This will exclude your ACF field's labels from the translation editor. I hope this helped! |