February 7, 2017 at 8:13 am
Hi Kadence!
I did a Virtue upgrade from free to premium. I spent some hours as I had a child theme with custom templates and Polylang got lost on the way… The usual! And still have a small prob.
The virtue string for “Your Cart” in topbar is properly translated, as I can see my custom translation (“Orçamento”) when the page starts loading. But at the end, the label changes to the default virtue pt_BR translation (“Seu carrinho”). The question is, who is overriding the string?
I tested many ways to edit it, in an .mo file in my child theme (as I did it before upgrading), then directly in the theme folder, theme in the theme options, and finally with Loco Translate (current configuration). All the ways give the same result. The string is successfully translated and appears when the page starts loading. Then, it is overwritten by the default virtue translation for pt_br. I don’t even know where the default translation is coming from as I edited the core theme po/mo files.
Caching disabled, theme updated, wp updated, woocommerce updated, database repaired and optimized.
Any idea?
Thanks in advance
Hugo