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: ATE
This topic contains 5 replies, has 2 voices.
Last updated by Noman 1 year, 1 month ago.
Assisted by: Noman.
Author | Posts |
---|---|
October 10, 2023 at 8:38 am | |
pamelaW |
Hi, |
October 10, 2023 at 10:00 am | |
October 10, 2023 at 10:07 am #14548313 | |
pamelaW |
Hi Noman, Pamela |
October 10, 2023 at 11:16 am #14549083 | |
Noman Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hi, Yes, I'm working on your test site and will get back to you with an update soon. Thank you for your cooperation and patience |
October 10, 2023 at 2:27 pm #14551313 | |
Noman Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
1. I have added the below XML in WPML >> settings > Custom XML Configuration section: <wpml-config> <gutenberg-blocks> <gutenberg-block type="kadence/infobox" translate="1"> <xpath>//div/a/@href</xpath> <xpath>//*[@class="kt-blocks-info-box-title"]</xpath> <xpath>//*[@class="kt-blocks-info-box-text"]</xpath> <xpath>//div[@class="kt-infobox-textcontent"]</xpath> <xpath>//span[@class="kt-blocks-info-box-learnmore"]</xpath> </gutenberg-block> </gutenberg-blocks> </wpml-config> 2. Made a small change in the default language page and opened the translated page in Advanced Translation Editor and just pressed the Complete button and it works correctly now: Could you please check and confirm? Thank you |
October 10, 2023 at 3:40 pm #14552173 | |
pamelaW |
Hi, <wpml-config> Pamela |
October 11, 2023 at 3:19 pm #14560483 | |
Noman Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
I have updated the XML to as follows: <wpml-config> <gutenberg-blocks> <gutenberg-block type="kadence/infobox" translate="1"> <xpath>//div/a/@href</xpath> <xpath>//*[@class="kt-blocks-info-box-title"]</xpath> <xpath>//*[@class="kt-blocks-info-box-text"]</xpath> <xpath>//span[@class="kt-blocks-info-box-learnmore"]</xpath> </gutenberg-block> </gutenberg-blocks> </wpml-config> And now it seems to be shows only one instance of sting in ATE and also the translation works correctly. Could you please take another look and let me know it goes. Thank you for your cooperation and patience |
October 15, 2023 at 6:44 pm #14580439 | |
pamelaW |
Thank you Noman for excellent work! |