I’m working with a site, where the theme is Enfold and there is a WooCommerce shop. Site has 2 languages. I have written Shop Description in Theme Options, but I have not managed to translate it with Loco Translate. How to do the translation?
Hi,
Thanks for contacting us!
Which multilingual plugin are you using? If you are using WPML, please install this extension – https://wordpress.org/plugins/woocommerce-multilingual/
Regards,
Yigit
I use Polylang and Polylang for WooCommerce.
Hi,
I unfortunately do not have any experience with Polylang for WooCommerce. Could you please create temporary admin logins and post them here privately so we can look into it? :)
Best regards,
Yigit
Hi, here are the credentials.
Hi,
Thank you for the info.
Did you change the login URL? We cannot access the login page using the default URL (wp-login or wp-admin). Please post the custom login URL in the private field.
You can use the Say What? plugin to add translations for custom strings or text.
// https://wordpress.org/plugins/say-what/
Best regards,
Ismael
Just checked this, and managed to admin here:
Hi,
Thank you for the update.
Looks like the shop description cannot be translated in the String Translation management panel, so what we did is we added the description for each language in the same field.
<span class="av-lang av-lang-fi">TERVETULOA
tutustumaan Glungan mallistoon</span>
<span class="av-lang av-lang-gb">WELCOME
Check out the Glunga collection</span>
Then used this css code to toggle their visibility based on the active language.
.av-lang { display: none; }
html[lang="en-GB"] .av-lang-gb { display: inline-block; }
html[lang="fi"] .av-lang-fi { display: inline-block; }
Please make sure to purge the cache before checking the page.
Best regards,
Ismael
Thank you so much!