Home Forums WoodMart support forum Translate HTML Blocks for product tabs

Translate HTML Blocks for product tabs

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #155578

    geminibv
    Participant

    Hi there,

    We’ve added a shortcode for a HTML block under ‘Theme Options > Product Page > Tabs’. We’ve translated this HTML block, which automatically gives it another ID. We then translated this through ‘String Translation’ in WPML. However, this isn’t working. In the mainlanguage the content of the HTML Block is showing, but in all other languages, it just turns up empty.

    Could you elaborate on how we can translate the HTML Blocks for product tabs?

    Thanks,
    Gemini

    #155638

    Hello,

    You need to create two HTML blocks: one for the default language and one for translation, if you have more languages you will need to create as many HTML blocks as many languages are.

    Then, navigate to WPML > String Translation > Choose the admin_text_woodmart_option from the dropdown and find the title and the content block http://prntscr.com/lx5qpz

    Best Regards

    #155828

    geminibv
    Participant

    Hi,

    As you can read in my first post, this is exactly what we’ve done. The HTML blocks are not showing up in any language except the main language.

    Thanks,
    Gemini

    #155836

    Hello,

    Please provide your site admin access and HTML blocks IDs both initial and translation, also specify the Theme Settings place where you apply.

    Best Regards

    #156545

    geminibv
    Participant

    Hi support,

    ID HTML Blocks
    NED: 242
    DU: 114877
    FR: 114876
    EN: 114620

    Please do not update our theme or woocommerce because of custom work. Thanks in advance.

    #156553

    Hello,

    First of all, please remove all your customization into the child theme and update, we do not provide support on out-to dated theme version. The reason is that we usually fix most of the problems in the new versions and updating the theme solves the issues automatically.

    As for the HTML blocks: you have created the translations of the HTML blocks http://prntscr.com/pvx5mx Remove all them into NL default language. Just create Downloads_DE/Dowloads_EN etc. and then insert the shortcodes as you have done. You can save and insert the template not to recreate all from scratch, here is the video instruction on how to do it quickly and easily. https://xtemos.com/docs/woodmart/html-blocks-2/#posts_products_page

    Please make the full backup of your site and update it.

    Best Regards

Viewing 6 posts - 1 through 6 (of 6 total)