Hey,
Which language? can you post a link?
It’s possible after updating a po file that you would need to add something to the cart. That one piece is cached by woocommerce so even without caching on your site you would still at times need to clear it by adding something to the cart.
Kadence Themes
i am still trying to figure this out.I see that you have a folder in your theme ‘languages’ with various packs.When i select the greek language i can see the theme translated besides the ‘your cart’ on the top bar (even with the latest Woo).
shouldn’t the theme language pack be in the ‘wp-content/languages/themes’ folder?
what happens during theme updates?
Thanks.
i tried to disable / enable the top bar option from theme options
Show Cart total in topbar?
i can see my change when i directly edit my header.php but i never see the translation
Hey,
If you want to override the themes language files you would then do that in the global folder not inside the theme folder. This plugin can help you with the translation: https://wordpress.org/plugins/loco-translate/
Just be sure to add something to the cart after you update the translation.
Kadence Themes
i even tried that as well and still no luck with this string.
what should be the filename in the wp-content/languages/themes using a child theme?
virtue-el.mo ?
i even directly changed the code in header.php and i see the change for 1 sec and then it switches back to your cart.Is this related to any setting in the server ?
can you recommended something?
I can do this using the above plugin or the po file.. I don’t know why that isn’t working for you but manually overriding the theme won’t do it. There is ajax code running to update the cart.
If you would like I can take a look at your settings.
ben@kadencethemes.com
Kadence Themes
For anyone interested the problem was the name of the po / mo file, it was el_GR.po where it should be el.po and el.mo respectively.You can rename the file in the themes/virtue/language folder but it is better to move the file in wp-content/languages/themes and name it virtue-el.mo.
@Kadence please correct me if i am wrong.
Also a huge thanks and huge respect for the great support (and great theme)
I’m having the same problem… The french version “Votre panier” flashes for a second and then the english “Your Cart” shows up again. I tried clearing the cash and that worked, until I clicked on a link to go back to my store, then the “Your Cart” popped up again. It’s very frustrating since I’ve been working on this for weeks with no luck and this is the only thing holding us back from launching our store. Any help is appreciated!!
Hey lcorri,
Please do not post in a resolved topic. This can be easily missed.
You would also need to post a link for us to see whats going on, Once you add something to the cart that should clear the internal ajax cache. Make sure you’ve done that.
Kadence Themes
I can see the cart working with french.
I have added things to the cart many times and it doesn’t make a difference. I will start a new thread…