Missing translations in WooCommerce pages

This topic has 8 replies, 2 voices, and was last updated 10 years, 4 months ago ago by Eva Kemp

  • Avatar: plandoin
    plandoin
    Participant
    July 13, 2014 at 17:41

    Hi,

    I want to translate WooCommerce pages in French. I have edited the PO and MO files with POedit.
    But I cannot find some words, like “Country”, “First name”, “Last name”, “Phone”, etc.
    Why I do not find these words in the PO file? Should I add them myself?

    Best.

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    July 13, 2014 at 18:01

    Hello,

    You can translate those words in the plugins folder. Find the file class-wc-countries.php in /wp-content/plugins/woocommerce/includes directory (from the line 729).

    Regards,
    Eva Kemp.

    Avatar: plandoin
    plandoin
    Participant
    July 13, 2014 at 18:25

    Thanks. I have modified the file class-wc-countries.php and it works fine.

    What file(s) shall I modify, to translate words such as “New customers”, “Returning customers”, “Create an account”, etc. on the check out page?

    Avatar: Eva
    Eva Kemp
    Support staff
    July 13, 2014 at 18:48

    You’re welcome.
    Those words can be translated in the file wp-content/themes/theleader/woocommerce/checkout/form-checkout.php.

    Regards,
    Eva Kemp.

    Avatar: plandoin
    plandoin
    Participant
    July 13, 2014 at 19:08

    Thanks. In form-checkout.php, I cannot find “Remember me”, “Lost your password” and “Login”. Where can I translate these words?

    Avatar: Eva
    Eva Kemp
    Support staff
    July 13, 2014 at 20:15

    You should edit the file wp-content/themes/theleader/woocommerce/global/form-login.php to translate those words.

    Regards,
    Eva Kemp.

    Avatar: plandoin
    plandoin
    Participant
    July 15, 2014 at 10:43

    Thanks a lot!

    Avatar: Eva
    Eva Kemp
    Support staff
    July 15, 2014 at 11:50

    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘Missing translations in WooCommerce pages’' has been successfully resolved, and the topic is now closed for further responses

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.