Hi there
Could you please check if your theme overrides wishlist.php or wishlist-view.php templates inside its folder (or /woocommerce subpath)?
In this case, could you please try to temporarily rename them to wishlist.php.bak and wishlist-view.php.bak respectively to check if missing translation depends for any reason on those templates?
Please, let me know
Thread Starter
dinyus
(@dinyus)
Sorry, I’m not too good at WP yet – how can I check if it overrides it? I found both files with file manager in the plugins/yith-woocommerce-wishlist folder.
Thanks!
Hi there
You should search for those files, inside your theme folder:
wp-content/themes/<your theme or child folder> or wp-content/themes/<your theme or child folder>/woocommerce
Thread Starter
dinyus
(@dinyus)
Hi,
I checked, and there aren’t php files called like this in my theme’s folder (I even searched for the word “wishlist” in my whole folder and it only appears in the plugin’s folder)
Hi there
Could you please do just one last theme-related test?
Could you please try to activate a default Twenty theme and check if translation are correctly applied then?
Please, let me know
Thread Starter
dinyus
(@dinyus)
Hi, I’m a bit afraid to do that, I don’t want any of my pages, templates, codes, etc. to possibly get ruined, I have too much work in it (I know there’s backup, I also have a plugin for that, but what if it doesn’t work perfectly?).
Isn’t there any other way to check this…?
Thanks!
I totally understand your point
I wouldn’t reccomend either to proceed, if you don’t have a staging site where you can test without the fear of losing part of your work
Anyway, unfortunately it is quite difficult for me to understand the issue
If I test on my local installation, with a translation file created by us, I can see that those strings are correctly translatable
So I must assume that the problem is related to your translation process, or to the text domain in your templates
Unfortunately you seems to exclude both of these possible source of error, so I’m afraid we’re at a dead end
Since there is little I can do to debug the error, maybe I could suggest something that normally I wouldn’t, just for the sake of solving the problem for you
You could think to override wishlist-view.php template in your theme files (copy it from wp-content/plugins/yith-woocommerce-wishlist/templates to wp-content/themes/<your theme or child directory>/woocommerce)
Then you can edit it and replace the strings that won’t translate with the localized version for your site
As I said, this is something that I wouldn’t reccomend, but could be a quick workaround to keep your project running, if this is what you want
Thread Starter
dinyus
(@dinyus)
This works, thanks for all the help.
You’re welcome!
We are doing our best to improve our plugins. Our target is to develop and release the best free plugins for WooCommerce, but to achieve this we need your help. Please leave a good review to support us and help our growth 🙂