Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1336378

    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?

    #1336382

    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

    #1336395

    I use Polylang and Polylang for WooCommerce.

    #1336577

    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

    #1336582

    Hi, here are the credentials.

    #1336821

    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

    #1336847

    Just checked this, and managed to admin here:

    #1336886

    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

    #1336927

    Thank you so much!

    #1337008

    Hi,

    No problem. Glad we could help. Please let us know in a different thread if you need anything else. We will close this one for now.

    Have a nice day.

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Shop Description translation?’ is closed to new replies.