• Hi!

    It’s the first time I use Ocean WP and it’s very very beautiful, so congrats for your job!

    I have two different questions:
    1) Is there a way to have a carousel for woocommerce thumbnails in single product page?

    2) Is there a way to translate some strings without modify /wp-content/languages/themes/oceanwp-it_IT.po, for example using child theme folder? I tried, but I wrong something, I think, because nothing happends and only by modifying the original file I can see changes.

    Thanks for your support,
    regards.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    1. Try to use the plugin for it – https://www.ads-software.com/plugins/woo-product-gallery-slider/
    2. If you don’t want to use the child theme, then use Loco translate plugin to translate it.

    Thread Starter valesilve

    (@valesilve)

    Hello,
    yes I’d like to use child theme, but what I did didn’t work. So I’m asking you if there is a correct way to do this.

    Follow the below steps do it –

    Step 1 – Install and activte the OceanWP child theme
    Step 2 – Copy the oceanwp > languages folder into the child theme
    Step 3 – Edit the files as per your need

    For more details, see here – https://docs.easydigitaldownloads.com/article/1228-how-do-i-translate-my-theme-from-child-theme

    Thread Starter valesilve

    (@valesilve)

    Hi Amit,

    For the thumbnail slider I tried the plugin you suggest me, but it doesn’t work fine for me. I find, instead, this one https://www.ads-software.com/plugins/woo-thumbnails-slider/ and it sounds good!

    For the translation problem: I tried an other time these steps (I had already done it), but nothing changes! ??
    I don’t understand what I’m wronging

    Regards.

    Are you using OceanWP child theme or your own created child theme? It should work. Can you please tell me which strings do you want to change so that I can check it on my end replicating this issue?

    Thread Starter valesilve

    (@valesilve)

    Hi Amit,

    I’m using an own child theme and this is his heading in style.css:

    /*
    Theme Name: tbp
    Version: 1.0.0
    Template: oceanwp
    Text Domain: tbp
    */

    In function.php I tried :

    function child_theme_slug_setup() {
    load_child_theme_textdomain( ‘oceanwp‘, get_stylesheet_directory() . ‘/languages’ );
    }
    add_action( ‘after_setup_theme’, ‘child_theme_slug_setup’ );

    and also:

    function child_theme_slug_setup() {
    load_child_theme_textdomain( ‘tbp‘, get_stylesheet_directory() . ‘/languages’ );
    }
    add_action( ‘after_setup_theme’, ‘child_theme_slug_setup’ );

    I change file’s name from oceanwp-it_IT.po to it_IT.po and then I upload it_IT.po/.mo in a new folder called languages in tbp (my child theme folder: themes/tbp/languages/).

    I would like to change the translation of “Next Product” and “Previous Product” in product navigation, in single product page on mobile view, because in Italian the strings are too long.

    I found the strings, but I can’t translate theme if the .po isn’t /wp-content/languages/themes/oceanwp-it_IT.po.

    Regards

    Hello,

    Try to use the OceanWP child theme and check it works or not. Also, use the original name oceanwp-it_IT.po instead of it_IT.po.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How add Woocommerce thumb carousel and how translate some strings?’ is closed to new replies.