This thread is resolved. Here is a description of the problem and solution.
Problem:
use ATE to translate a post that contains Kadence Blocks "Testimonial" block
Solution:
Please go to WPML->Settings->Custom XML Configuration (tab at the top) and add the following
<wpml-config> <gutenberg-blocks> <gutenberg-block type="kadence/testimonial" translate="1"> <key name="title"></key> <key name="content"></key> <key name="name"></key> <key name="occupation"></key> </gutenberg-block> </gutenberg-blocks> </wpml-config>
Then edit the default language page with the blocks -> make small change and update -> access the translation again
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: Compatibility
This topic contains 8 replies, has 2 voices.
Last updated by Lukas Cech 1 year, 10 months ago.
Assisted by: Bobby.
Author | Posts |
---|---|
March 15, 2023 at 4:18 pm #13253625 | |
Lukas Cech |
I am trying to: use ATE to translate a post that contains Kadence Blocks "Testimonial" block Link to a page where the issue can be seen: hidden link I expected to see: ATE showing the texts in "testimonials" block for translation Instead, I got: nothing, texts from "testimonials" block are ignored by WPML |
March 15, 2023 at 8:52 pm #13255139 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Hi there, This may be a compatibility issue with the *Kadence Testimonials* Block. I created a sandbox for us to test this with a minimal environment 1) Click this URL to visit the Sandbox site backend - hidden link Let me know your results, please. |
March 16, 2023 at 8:56 am #13257379 | |
Lukas Cech |
Hi Bobby, all set up and not translating, same as my site. Didn't even have to install Kadence Theme (it's not linked to Kadence Blocks, they are two stand alone products). |
March 17, 2023 at 6:58 am #13266523 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Thank you for updating me! I have escalated this to our compatibility team and will update you once there is news. In the meantime you can add translation manually by doing the following: 1. View the translated post in the front end hidden link |
April 26, 2023 at 9:34 pm #13545075 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Hello, Please go to WPML->Settings->Custom XML Configuration (tab at the top) and add the following <wpml-config> Then edit the default language page with the blocks -> make small change and update -> access the translation again, does it show OK now? |
April 29, 2023 at 11:28 am #13561029 | |
Lukas Cech |
Hi Bobby, this works, now I can translate the teestimonials, thanks. One small issue though - every sentence of a single testimonial is separated and needs to be translated on it's own in ATE, which doesn't make sense. They should be considered as one piece of text (the entire testimonial = one ATE translation box). |
April 29, 2023 at 11:43 am #13561069 | |
Lukas Cech |
and the option to join them manually is unnecessary work + doesn't always work (i.e. in some cases, I don't get the option (chain icon) to click to join them, even if the two sentences are part of a single testimonial. |
May 1, 2023 at 9:03 pm #13566333 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Glad to hear it's working now! Thank you for the feedback, this is expected behavior, the sense of joining segments is to make automatic translation work better in case a sentence has too many segments and the automatic translation does not work as expected in terms of grammar or sense. |
May 2, 2023 at 1:45 pm #13571261 | |
Lukas Cech |
Ok, in that case, all is good now. Thanks! |