Hello,
1. Try to use the plugin for it – https://wordpress.org/plugins/woo-product-gallery-slider/
2. If you don’t want to use the child theme, then use Loco translate plugin to translate it.
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
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://wordpress.org/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?
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.