WPML Translation Issue - by anantvarun - on WordPress WooCommerce support

This topic has 16 replies, 2 voices, and was last updated 6 years, 5 months ago ago by Rose Tyler

  • Avatar: anantvarun
    anantvarun
    Participant
    June 19, 2018 at 09:43

    Hi,

    When the cart is empty the sentence is not translated : “YOUR CART IS CURRENTLY EMPTY”

    I am using WPML plugin and when I go for translations, the system seems to propose the auto translated sentence, but it doesn’t work. So I fill in mine, but it doesn’t work either…
    Any idea ?

    15 Answers
    Avatar: anantvarun
    anantvarun
    Participant
    June 19, 2018 at 09:46

    As a follow up to my above questions.

    I went to Theme options >> Shop and checked that the cart sentence is written there. But this section only accepts one language. I cannot show the same sentence in 2 languages.

    If I delete this sentence then no message appears in the front end.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 19, 2018 at 13:40

    Hello,

    Go to WPML > String translation and a list of the strings in the theme will be available. Choose the string you need to translate and select the translation link to add translations to languages.

    Regards

    Avatar: anantvarun
    anantvarun
    Participant
    June 20, 2018 at 05:35

    Thanks for your response.

    I already followed the steps you shared and still it didn’t translate the text. Kindly check the screenshot here – https://www.dropbox.com/s/7ocde7i2zzn7df6/image003.jpg?dl=0.

    The text highlighted in yellow is the translation suggested by WPML plugin. This translation didn’t work so I added my own translation which didn’t show either.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 20, 2018 at 10:00

    Could you, please, provide temporary wp-admin access in the Private Content area so we can take a closer look?

    Regards

    Avatar: anantvarun
    anantvarun
    Participant
    June 20, 2018 at 10:08

    Hi,

    I have added the details below:

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 20, 2018 at 12:46

    Hello,

    The credentials to wp-admin panel are incorrect. Please check them.

    Regards

    Avatar: anantvarun
    anantvarun
    Participant
    June 20, 2018 at 13:08

    My apologies. I have added the correct details now.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 20, 2018 at 14:41

    Thanks. Please provide temporary FTP access also.

    Regards

    Avatar: anantvarun
    anantvarun
    Participant
    June 20, 2018 at 14:54

    Kindly refer to the details below:

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 21, 2018 at 07:51

    Hello,

    We’ve removed

    <h2>Your cart is currently empty</h2>
    <p>You have not added any items in your shopping cart</p>

    from Theme Options, and added a little customization in your child theme (woocommerce/cart/cart-empty.php and functions.php files).
    Now the text loads from woocommerce – http://prntscr.com/jxgvm5
    You can also add this code in custom css

    .empty-cart-block i {
        margin-bottom: 10px;
    }

    http://prntscr.com/jxgw9x

    Regards

    Avatar: anantvarun
    anantvarun
    Participant
    June 21, 2018 at 08:14

    Thanks Ross. I appreciate all the help

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 21, 2018 at 08:49

    You’re welcome!

    Regards

    Avatar: anantvarun
    anantvarun
    Participant
    June 22, 2018 at 06:01

    Hi Rose,

    There’s a new issue which has come.

    I added a product in the cart and when I clicked checkout, it says the shopping cart is empty. https://www.dropbox.com/s/3m2lfq2zl7ikjxp/shoppint-cart.jpeg?dl=0

    Avatar: anantvarun
    anantvarun
    Participant
    June 22, 2018 at 06:02

    Kindly ignore, I’ll share the above concern in a separate thread.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 22, 2018 at 10:23

    Hello,

    Ok.

    Regards

  • Viewing 16 results - 1 through 16 (of 16 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.