Multilanguage sites with WPML and shortcodes?

Hi there,

which shortcode are you talking about exactly? Where did you place them? Translating a page/post should result in a possibility to add a different shortcode to that translated content too.

Cheers

Thread Starter
Titi

(@thibotus01)

Hi,

Thank you for your quick answer.
Shortcode of widget reviews. I placed it in an elementor template page.

In WPML translator I have this: https://gyazo.com/07776d91abb3284dc839705059dcafd7
It doesn’t allow me to translate the actual ID. I opened ticket with WPML to know more.

Thank you

Hi there,

that’s a very special case I guess 🙂 Building multilingual elementor templates with WPML – I guess this usecase may only be supported in case WPML allows these custom fields to be translatable.

Best

Thread Starter
Titi

(@thibotus01)

Elementor template pages are very common in wordpress developement nowdays. 🙂

And I’m not sure it’s actually related at all. It’s strcitly related to WPML and shortcodes I believe.

And I’m not sure it’s actually related at all. It’s strcitly related to WPML and shortcodes I believe.

Well it is related as these templates need to be translatable via WPML and that is a functionality only WPML can provide. You could integrate/implement a custom shortcode and check the current language via PHP and place/provide the actual widget as needed. But that requires a custom implementation.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Your Advertisement Here