-
AuthorPosts
-
October 30, 2024 at 9:06 am #1470215
Hi,
We’re using
<people> <person> <first_name>Jack</first_name> <last_name>Smith</last_name> <birth_date>1990-05-15</birth_date> </person> <person> <first_name>Jill</first_name> <last_name>Johnson</last_name> <birth_date>1985-10-22</birth_date> </person> </people>
in the code element. Code language is set to xml.
In the main language everything is fine but in the translation everything is stripped out.
October 31, 2024 at 3:39 am #1470295Hey Patrick,
Thank you for the inquiry.
What do you mean by “code element”? Are you using a plugin for this? Try to wrap the XML code in a wpml-string shortcode.
// https://wpml.org/documentation/support/wpml-coding-api/shortcodes/
Best regards,
IsmaelOctober 31, 2024 at 7:54 am #1470332Hi Ismael,
Sorry, I updated the two url’s. We are using the codeblock element and the setting is set to “Display codeblock as code snippet”. I’ve inserted them below the post thumbnail. On the translated page (english page) the tags are removed on the frontend.
Regards,
PatrickNovember 1, 2024 at 4:32 am #1470381Hi,
Thank you for the update.
Did you try the wpml-string shortcode? We may need to access the site to properly check the issue. Please provide the login details in the private field.
Best regards,
IsmaelNovember 19, 2024 at 1:58 pm #1471649Hi,
Sorry for the late response.
I don’t want to use string translation for that. I’m using the classic wpml translation und just adding the codeblock element to the translated page. You can try it on your test install. I tried it on different projects and it’s the same bug everywhere.
Regards,
PatrickDecember 5, 2024 at 8:35 am #1472984Any news on that?
Regards,
PatrickDecember 6, 2024 at 8:33 am #1473077Hi,
Sorry for the delay. We are still not sure what’s causing the issue. Please provide the login details in the private field so that we can check this further.
Best regards,
IsmaelDecember 6, 2024 at 8:38 am #1473079Can’t give you access to the project but I tested it on a local clean project and it’s the same issue. So you can test it on your enfold development project too.
Regards,
PatrickDecember 12, 2024 at 1:07 pm #1473491 -
AuthorPosts
- You must be logged in to reply to this topic.