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: Exception
This topic contains 18 replies, has 2 voices.
Last updated by Mihai Apetrei 1 year, 1 month ago.
Assisted by: Mihai Apetrei.
Author | Posts |
---|---|
October 2, 2023 at 7:34 pm #14500515 | |
Pablo |
I would like to translate the "Button Label" of an Advanced Custom Fields Repeater field. |
October 4, 2023 at 8:13 am #14510505 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there. I created a custom search URL for you so that you can quickly find the existing support tickets that are based on the same topics and that already contain solutions shared by my colleagues: This way, you might find the solution faster and we will have to spend less time on this ticket. Please take a look over the first results and let me know if you managed to get this resolved. I will be waiting for your response. Mihai Apetrei |
October 4, 2023 at 12:16 pm #14512865 | |
Pablo |
I searched the issue and reviewed those same resources before I posted my question and did not find an answer. |
October 4, 2023 at 9:06 pm #14515677 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Thank you for the confirmation. 1. Can you please let me know exactly where I can find that button label being used? On what page? 2. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this 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. Our Debugging Procedures I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site. Privacy and Security Policy We have strict policies regarding privacy and access to your information. Please see: **IMPORTANT** - Please make a backup of the 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 I will be waiting for your response. Mihai |
October 6, 2023 at 6:11 pm #14530689 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi and thank you for the credentials. I can confirm that I was able to log in successfully. I am spending more time on this and I will get back to you as soon as I have more feedback. I will leave the ticket assigned to myself for the moment. Kind regards, |
October 10, 2023 at 7:22 pm #14553511 | |
Pablo |
Hi. Do you have any updates? |
October 10, 2023 at 8:39 pm #14553791 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there. Thank you for your amazing patience and understanding. I am still debugging on this matter. It takes a bit longer than I initially expected. Also, we had a pretty major issue today on our servers and had to intervene super quick for around 150-200 users as they could not connect to our servers and could not register or update WPML. There has also been a weekend and most of us don't work on the weekends. So I assure you that I will get back to you as soon as I have more updates, and I will reply in this ticket (you will be notified via the email that you used in the WPML.org account). Thank you once again for your amazing patience throughout the debugging process. Mihai |
October 11, 2023 at 3:32 pm #14560615 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there. This is a pretty unique case and I am not able to understand why this doesn't work. I created this sandbox/test environment for you here: Can you please recreate the issue on this environment so that we can see if the same issue happens on our servers, too? This will allow me to further escalate this situation to our developers. I don't need you to migrate the site, just to recreate the issue in the simplest way possible for you. I will be waiting for your response. Mihai |
October 11, 2023 at 5:35 pm #14561189 | |
Pablo |
The ACF Pro and Advanced Custom Fields Multilingual plugins are required to reproduce the problem, can you install them in the sandbox? |
October 11, 2023 at 6:15 pm #14561383 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Sure! I installed them for you. Mihai |
October 11, 2023 at 7:57 pm #14561793 | |
Pablo |
Done: hidden link How can I edit "Add Row" on this page? |
October 13, 2023 at 8:55 pm #14575325 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there and thank you so much for taking the time to reproduce this issue. I was able to find the strings here (hidden link) but even if I added something for the translation, they still don't show up on the front-end. I will escalate this and get back to you at the beginning of next week as there's a wekeend ahead and not many people from our devs are working on the weekend. I am leaving the ticket assigned to myself. Thank you so much, once again, for your patience throughout the debugging process. Mihai |
October 17, 2023 at 9:52 am #14592543 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there, I am back. I wanted to personally assure you that your concern is of utmost importance to us. I also wanted to let you know that the issue has been already escalated internally, and I am actively awaiting feedback from our developers. Please rest assured that as soon as I have any updates, you will be the first to know. I've taken the initiative to keep this ticket assigned to myself to ensure continuity and prompt communication. Your patience and understanding are greatly appreciated. Mihai |
October 19, 2023 at 10:21 am #14613695 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there. My colleagues found out that this is a new feature - they were able to see that "acf_form()" wad added in single.php and that is displaying a form. I assume it should be translated automatically as other button labels are translated. It is not coming from the backend and not the field label. There might be something wrong with the ACF code or we might need to be using a different approach so they are still investigating on this matter. As I already promised, as soon as there are updates, I will get back to you. I understand how important this is for you. We will keep in touch. I'm leaving the ticket assigned to myself. Mihai |
October 19, 2023 at 11:18 am #14614315 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Our dev team just got back with an update as they just found a workaround. - go to: "wp-content/plugins/acfml/classes/Helper/Fields.php" There, after this part of code: if ( isset( $field['layouts'] ) ) { foreach ( $field['layouts'] as &$layout ) { $layout = $transformLayout( $layout ); if ( isset( $layout['sub_fields'] ) ) { $layout['sub_fields'] = self::iterate( $layout['sub_fields'], $transformField, $transformLayout, $fieldPattern . '_\d+_' ); } } } add this code: if ( isset ( $field["button_label"])){ do_action( 'wpml_register_single_string', 'acf', $field["button_label"], $field["button_label"] ); $field["button_label"] = apply_filters( 'wpml_translate_single_string', $field["button_label"], 'acf', $field["button_label"]); } You should then be able to translate that label from WPML > String Translation. Please let me know how things go. Mihai |