"New" and "Cart" translate

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

  • Avatar: Mary1974
    Mary1974
    Participant
    March 31, 2015 at 10:21

    Hello,

    I’m having a hard time trying to figure out how to translate “cart” in the home page (where the cart button is), also the “new” word in the circle on the thumbnail product. I have changed the .po file but no luck so far :/

    Please, contact administrator
    for this information.
    11 Answers
    Avatar: Robert Hall
    Robert Hall
    Participant
    March 31, 2015 at 10:36

    Hello,

    You can translate these words in \themes\royal\framework\woo.php file on line 1230 and
    \themes\royal\woocommerce\loop\sale-flash.php file on line 18.

    Regards,
    Robert Hall.

    Avatar: Mary1974
    Mary1974
    Participant
    March 31, 2015 at 10:39

    Hello and thank you for the fast answer. I’m sure this will work, but, wouldn’t this change back to english again after upgrading the theme in a future?

    Avatar: Brian Johnson
    Brian Johnson
    Member
    March 31, 2015 at 10:42

    Hello

    Please make all changes within child theme. How to to create child theme you may read here.

    With best regards
    Brian Johnson

    Avatar: Mary1974
    Mary1974
    Participant
    March 31, 2015 at 14:56

    Hi, alright. I’ve installed the child theme but I’m not so good on this and I don’t want to mess up (that’s why I was doing all the tweaks in the custom.css file) so, just to be sure:

    Shall I copy all the folder “framework” to the child theme, right? and make the changes in the proper file there (same with the other file). Or…shall I just copy the woo.php and sale-flash.php file?

    Sorry for the troubles :/

    Avatar: stan
    Stan Russell
    Participant
    March 31, 2015 at 15:35

    Hello,

    you need to keep file hierarchy in child theme too. So if you want to edit ‘woo.php’ file – place it in your (child theme folder)\framework\woo.php
    You need to put only edited files into child theme as they will be used instead original ones.

    Regards,
    Stan Russell.

    Avatar: Mary1974
    Mary1974
    Participant
    April 3, 2015 at 08:13

    Hello, thank you for helping out. I’ve changed the files already and the “new” issue has been solved, unfortunately the “cart” translation didn’t applied, any ideas why?

    Thank you again in advance.

    Avatar: Robert Hall
    Robert Hall
    Participant
    April 3, 2015 at 08:29

    Hello,

    Please provide us with wp-admin and FTP credentials in Private Content.

    Regards,
    Robert Hall.

    Avatar: Mary1974
    Mary1974
    Participant
    April 3, 2015 at 09:00

    Hello, below the requested details.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant
    April 3, 2015 at 09:21

    Hello,

    I’ve copied the code into functions.php file in royal-child directory.
    Now the text is translated.
    Please clear browser cache and check.

    Regards,
    Eva Kemp.

    Avatar: Mary1974
    Mary1974
    Participant
    April 3, 2015 at 09:27

    As usual, you guys rock in support. Thank you A LOT for your help!

    Avatar: Eva
    Eva Kemp
    Participant
    April 3, 2015 at 10:02

    Hello,

    You’re always welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘"New" and "Cart" translate’' has been successfully resolved, and the topic is now closed for further responses

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