-
-
Hello.
I’ve seen that there are some elements that are always displayed in english, even if i have the italian translation correctly installed.
I’ve tried with POedit and with Loco Translate (plugin) too, but the translations are there, they’re just not displaying and i don’t understand why.
You can see the problem in the screenshot below:
https://i.imgur.com/3OV7T94.pngWaiting for your response.
Thank you in advance.
Gianmaria Generoso. -
Hello,
The “Cart is empty” string is translatable. You can check it out in files:
-specular\functions-woocommerce.php
-specular\includes\view\woocommerce-cart.php
Same goes for “View Cart” and “Subtotal”, you can find them in these files:
-specular\functions-woocommerce.php
-specular\includes\view\woocommerce-cart.phpPlease check your .PO file. If the strings are not present, add them using the PoEdit editor and try again.
Note: every string inside the
_e('String here', 'codeless');
function is translatable.
Let us know.Best regards!
-
This reply was modified 7 years, 9 months ago by
Mirela.
-
This reply was modified 7 years, 9 months ago by
-
Hello.
I’ve found the translatable string, but is not working.
I’ve put an it.po file in /specular/lang, then i’ve looked at the available translations with the plugin loco translator. The plugin see my file as a new language, and i don’t have the new translated strings on my website.Thank you in advance.
Gianmaria Generoso.
-
Hello,
The Loco plugin does not use the default lang files in specular/lang folder. As Loco translator plugin is a third party plugin so we can not give support on it.
Please make sure you have named the .PO file correctly. The right form for italian is it_IT.po.
Let us know.Best regards!
-
Hello.
The po file are exactly as you described, but isn’t working.
Screenshot:
https://i.imgur.com/PJuoI5I.png
Thanks in advance. -
-
Hello,
I checked the cart dropdown and i see all text is already in italian language. Did you manage to change it? If you made no further changes, then i suspect all it needed was time fro the server to display the changes. Check this screenshot please: https://postimg.org/image/8v5tlx117/
As you can see the cart is translated.
Let us know.Best regards!
-
You must be logged in to reply to this topic.