Home › Forums › WoodMart support forum › Translate HTML Blocks for product tabs
Translate HTML Blocks for product tabs
- This topic has 5 replies, 2 voices, and was last updated 5 years, 1 month ago by Elise Noromit.
-
AuthorPosts
-
November 8, 2019 at 12:30 am #155578
geminibvParticipantHi 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,
GeminiNovember 8, 2019 at 8:33 am #155638
Elise NoromitMemberHello,
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
November 8, 2019 at 5:33 pm #155828
geminibvParticipantHi,
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,
GeminiNovember 8, 2019 at 7:21 pm #155836
Elise NoromitMemberHello,
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
November 12, 2019 at 1:25 pm #156545
geminibvParticipantHi support,
ID HTML Blocks
NED: 242
DU: 114877
FR: 114876
EN: 114620Please do not update our theme or woocommerce because of custom work. Thanks in advance.
November 12, 2019 at 2:07 pm #156553
Elise NoromitMemberHello,
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
-
AuthorPosts
- You must be logged in to create new topics. Login / Register