Can't translate some strings of WooCommerce (wishlist, cart, etc.)

This topic has 11 replies, 3 voices, and was last updated 7 years, 8 months ago ago by Eva Kemp

  • Avatar: justinedemers
    justinedemers
    Participant
    July 18, 2016 at 21:40

    Hi,
    I try to translate the theme and Woocommerce in French. Everything’s going pretty well but there are some strings that I can figure out how to translate.
    For example: Wishlist. Cart (it still says: “your cart is empty”) but in the .po file, I can see that I have translated all of them.

    Right now it’s pretty odd because it’s generally in French but with some pages and some text in English.

    Can you help? The website is in “Coming soon” mode but I give you the login info in the private box below.

    Justine
    http://www.follesdici.com

    Please, contact administrator
    for this information.
    10 Answers
    Avatar: justinedemers
    justinedemers
    Participant
    July 18, 2016 at 22:54

    Hi there,
    I managed to figure out about the wishlist (it was in the plugin)

    But for many other strings, I still have problems: Cart, “dashboard”, “Downloads” Addresses”

    I try to use the .pot file but Poedit tells me an error message.

    Could you point me out what I need to do, which files I need to edit if it’s not the one I did?

    Thanks

    Avatar: Robert Hall
    Robert Hall
    Support staff
    July 19, 2016 at 07:51

    Hello,

    I’ve just logged to the wp-admin panel and didn’t see the WooPress theme there.

    Regards,
    Robert Hall

    Avatar: justinedemers
    justinedemers
    Participant
    July 19, 2016 at 07:54

    Yes, I deleted it and started from scratch. I had too many problems with the theme (and translation). It was hard to customize the topbar, the social icons (share/follow), etc. I don’t think I’m gonna be using it.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    July 19, 2016 at 08:21

    I’ve answered you here how to edit social icons in the Child Theme
    https://www.8theme.com/topic/child-theme-wont-override-parent/

    Also you can read more in the following article how to translate WooCommerce localization
    https://docs.woothemes.com/document/woocommerce-localization/

    Regards,
    Robert Hall

    Avatar: justinedemers
    justinedemers
    Participant
    July 19, 2016 at 08:24

    Hi,

    I’ve read all about translation. I’ve been trying to fix these strings for the past 8 hours now.
    Everything works great in fr_FR but in fr_CA there’s like 4-5 strings that stays in English even though they are perfectly translated in poEdit and Loco.

    When it’s not the cart the problem, it’s the Wishlist. And when I fix the Wishlist, it’s the Dashboard.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    July 19, 2016 at 09:08

    Please provide us with FTP credentials in Private Content.

    Regards,
    Robert Hall

    Avatar: justinedemers
    justinedemers
    Participant
    July 19, 2016 at 09:14

    You’ll fin the FTP credentials below, as well as the WP.

    Right now, the problem is “CART” and the description below “NOS PRODUCTS IN YOUR CART”.
    Also, when you click on the empty cart, the page loads and the text we see is in English. All of this should be in French (fr_CA)

    Woocommerce files are translated
    WooPress files are translated
    My WP is set in the correct language/region

    Same thing for the wishlist plugin. Almost everything is alright (Add to wishlist, etc.) but not the wishlist page itself, which contains “Product name”, “Price”, etc.

    Thanks. If you find the problem, please explain it to me!

    Please, contact administrator
    for this information.
    Avatar: Robert Hall
    Robert Hall
    Support staff
    July 19, 2016 at 10:29

    You can change the text “Your cart is currently empty” in Theme Options->Shop->Text for empty cart.

    Also we’ve updated the translation file. Please check it.

    Regards,
    Robert Hall

    Avatar: justinedemers
    justinedemers
    Participant
    July 19, 2016 at 19:39

    Hi,
    Thanks for the tip on how to change the text for the empty cart.

    You updated which file? The default theme language file or did you edit my fr_CA file?
    What did you update?

    When my mouse is hover the cart, I still see: “No products in your cart” in english. Where can i edit that if it’s not in the .po file?

    And do you know what the problem could be with the wishlist? I know it’s the plugin, but I edited the files the same way and still get some words in English.

    Thanks for your help,
    Justine

    Avatar: Eva
    Eva Kemp
    Support staff
    July 20, 2016 at 12:50

    Hello,

    We updated your fr_CA.po file in wp-content/themes/woopress/languages, so new strings are added from the updated theme version.

    As I see you’ve removed Woopress theme from dashboard.
    Do you still need our assistance with it?

    Regards,
    Eva Kemp.

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

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

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