This topic has 24 replies, 3 voices, and was last updated 9 years, 6 months ago ago by Eva Kemp
Hi!
I’m experiencing some problems with translations..
I’ve translated the entire theme by creating my it_IT.po e .mo files using Poedit.
Everything was working fine but some voices as you can see in the attached screenshot.
So I found in another post the guide to translate woocommerce and I’ve done every passage but some words are still in english. What I could see is that some voices like “Shipping and Handling” does not appear at all in the .po files. So I’ve tried searching in the theme files but I can’t find the word “handling”, for example.
I’ve also eliminated the translation for the field “note:” (just to try) under “Order total” in every translation file, cleared chache, forced translation update and..nothing is changed it still remains in Italian!
Could you help me please?
Thanks a lot!
Hello,
Please provide us with FTP credentials as well.
Thank you.
Regards,
Eva Kemp.
Here they are!
Thanks!
Hello,
Please specify what directory your site files are located in.
Thank you.
Regards,
Eva Kemp.
🙂
Hello,
You can translate “Shipping and Handling” text in the file wp-content/themes/woopress/woocommerce/cart/cart-shipping.php (line 22) and “Note:” is in the file wp-content/themes/woopress/woocommerce/cart/cart-totals.php (line 84).
Regards,
Eva Kemp.
OK thanks a lot. Could you tell me why these voices are not in po file?
Thanks again!
Hello,
because these files are from theme package and are modified woocommerce templates. Thats why they need to be translated manually.
Regards,
Stan Russell.
Sorry but I can’t find the file cart-totals.php in the latest version of the theme.
I’ve seen in the change log that it’s an “out of date file”.
In the latest update I overwrited all theme files but, of course, old files like cart-totals.php are still there. May I cancel the entire woocommerce folder and substitute it with the new one?
Thank you!
Hello,
I’ve reuploaded “woocommerce” folder in the directory wp-content/themes/woopress.
Please clear browser cache and check translation on Cart and Checkout pages now.
Regards,
Eva Kemp.
Sorry for asking again..but another thing is driving me mad!
I cannot find the current italian translation for “Apply coupon” button (I’d like to shorten it)..
There in nothing similar in my po files (neither in general it_IT nor in woocommerce one).
Same problem for the “Note:” field..
It was in “cart-total.php” but now that file does not exist at all. And furthermore it should be in english because no translation is applied in po file..
Could you help me again?
Thanks a lot.
I solved the input button problem with this code in fuctions.php `// rename the coupon field on the cart page
function woocommerce_rename_coupon_field_on_cart( $translated_text, $text, $text_domain ) {
// bail if not modifying frontend woocommerce text
if ( is_admin() || ‘woocommerce’ !== $text_domain ) {
return $translated_text;
}
if ( ‘Apply Coupon’ === $text ) {
$translated_text = ‘Applica promo’;
}
return $translated_text;
}
add_filter( ‘gettext’, ‘woocommerce_rename_coupon_field_on_cart’, 10, 3 );`
But still can’t find “Note:…”
Thanks
Hello,
Please show on a screenshot what “Note:” field you mean.
Thank you.
Regards,
Eva Kemp.
Hello,
The file can’t be found.
Please reupload your screenshot and provide us with a link to it.
Thank you.
Regards,
Eva Kemp.
Hi again!
Sorry for the inconvenience! Here’s the link again!
Thanks for your patience! 🙂
—
Flora
Hello,
Unfortunately I don’t see that section on your Cart page:
http://storage4.static.itmages.com/i/15/0527/h_1432728999_9018090_6a453f5539.png
Please check it in another browser.
Thank you.
Regards,
Eva Kemp.
Hello Eva!
Ive checked in every browser, the section is still there.
Safari:
Firefox:
Chrome: http://i59.tinypic.com/5z1uev.jpg
It’s a ghost..:)
Thank you!
Sorry I’ve uploaded the same image two times but believe me, it’s the same for every browser..:)
Hello,
As I see “Note” section is translated. Please specify what you want to change there.
Thank you.
Regards,
Eva Kemp.
Hello Eva..I removed the italian translation from po files..and as you can see is still in italian..I’ve tried changing the translation with a different one and nothing changed. It seems it is not affectd by anything..
I’ve tried to find where is physically located that text but I can’t find it in any file of the theme.
I’ll simply would like to eliminate that “note” text!
Thanks a lot!
—
Flora
Hello,
We can’t connect to your FTP account.
Please provide us with correct FTP credentials.
Thank you.
Regards,
Eva Kemp.
Credentials are the same for on line version and test version of the web site, thanks again!
Here they are:
Hello,
I’ve found the translation only in this file:
public_html/fontanarosa/wp-content/languages/plugins/woocommerce-it_IT.po.
Please check it.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up