Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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.

    #1470295

    Hey 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,
    Ismael

    #1470332

    Hi 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,
    Patrick

    #1470381

    Hi,

    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,
    Ismael

    #1471649

    Hi,

    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,
    Patrick

    #1472984

    Any news on that?

    Regards,
    Patrick

    #1473077

    Hi,

    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,
    Ismael

    #1473079

    Can’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,
    Patrick

    #1473491

    Hi,

    Did you already try to contact WPML support? Translations are handled by WPML and to me it sounds that WPML does not translate the codeblock element correctly.

    Best regards,
    Günter

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.