Woocommerce translation problem (partial)

This topic has 24 replies, 3 voices, and was last updated 9 years, 6 months ago ago by Eva Kemp

  • Avatar: Floppy78
    Floppy78
    Participant
    May 21, 2015 at 17:57

    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!

    Screenshot

    Please, contact administrator
    for this information.
    23 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    May 21, 2015 at 19:18

    Hello,

    Please provide us with FTP credentials as well.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Floppy78
    Floppy78
    Participant
    May 21, 2015 at 19:52

    Here they are!
    Thanks!

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    May 22, 2015 at 10:12

    Hello,

    Please specify what directory your site files are located in.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Floppy78
    Floppy78
    Participant
    May 22, 2015 at 10:23

    🙂

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    May 22, 2015 at 12:13

    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.

    Avatar: Floppy78
    Floppy78
    Participant
    May 22, 2015 at 12:18

    OK thanks a lot. Could you tell me why these voices are not in po file?
    Thanks again!

    Avatar: stan
    Stan Russell
    Participant
    May 22, 2015 at 12:38

    Hello,

    because these files are from theme package and are modified woocommerce templates. Thats why they need to be translated manually.

    Regards,
    Stan Russell.

    Avatar: Floppy78
    Floppy78
    Participant
    May 22, 2015 at 12:48

    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!

    Avatar: Eva
    Eva Kemp
    Support staff
    May 22, 2015 at 12:58

    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.

    Avatar: Floppy78
    Floppy78
    Participant
    May 22, 2015 at 16:44

    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.

    Avatar: Floppy78
    Floppy78
    Participant
    May 22, 2015 at 16:54

    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

    Avatar: Eva
    Eva Kemp
    Support staff
    May 22, 2015 at 17:54

    Hello,

    Please show on a screenshot what “Note:” field you mean.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Floppy78
    Floppy78
    Participant
    May 22, 2015 at 18:34

    Screenshot

    Avatar: Eva
    Eva Kemp
    Support staff
    May 24, 2015 at 09:59

    Hello,

    The file can’t be found.
    Please reupload your screenshot and provide us with a link to it.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Floppy78
    Floppy78
    Participant
    May 26, 2015 at 18:16

    Hi again!
    Sorry for the inconvenience! Here’s the link again!
    Screenshot

    Thanks for your patience! 🙂

    Flora

    Avatar: Eva
    Eva Kemp
    Support staff
    May 27, 2015 at 13:18

    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.

    Avatar: Floppy78
    Floppy78
    Participant
    May 28, 2015 at 15:16

    Hello Eva!
    Ive checked in every browser, the section is still there.
    Safari: Safari
    Firefox: Firefox
    Chrome: http://i59.tinypic.com/5z1uev.jpgChrome

    It’s a ghost..:)
    Thank you!

    Avatar: Floppy78
    Floppy78
    Participant
    May 28, 2015 at 15:19

    Sorry I’ve uploaded the same image two times but believe me, it’s the same for every browser..:)

    Avatar: Eva
    Eva Kemp
    Support staff
    May 28, 2015 at 15:53

    Hello,

    As I see “Note” section is translated. Please specify what you want to change there.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Floppy78
    Floppy78
    Participant
    May 28, 2015 at 18:04

    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

    Avatar: Eva
    Eva Kemp
    Support staff
    May 28, 2015 at 18:11

    Hello,

    We can’t connect to your FTP account.
    Please provide us with correct FTP credentials.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Floppy78
    Floppy78
    Participant
    May 28, 2015 at 18:21

    Credentials are the same for on line version and test version of the web site, thanks again!
    Here they are:

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    May 28, 2015 at 20:05

    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.

  • Viewing 24 results - 1 through 24 (of 24 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.