Home Forums WoodMart support forum Need Help Translating Checkout and Cart Text in CSS

Need Help Translating Checkout and Cart Text in CSS

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #643187

    the.nateghian
    Participant

    Dear Support Team,
    I have a website in a different language, and I want to translate some words like “Checkout”, “View Cart”, etc., into that language. I tried using CSS to make these changes, but it didn’t work. Could you please guide me on how to achieve this?

    Here is one of the CSS codes I used:

    /* Changing “Checkout” to another language */
    .wd-tools-checkout a::after {
    content: “پرداخت” !important;
    font-size: 14px;
    color: inherit;
    }

    Please let me know if there is an issue with my approach or if there is a better way to do this.
    Looking forward to your guidance.
    Best regards,

    #643343

    Hung Pham
    Keymaster

    Hi the.nateghian,

    Thanks for reaching to us.

    + In order to change / translate words. Please make sure you synced the strings first before changing / translating WooCommerce, WoodMart Core plugins and WoodMart theme. You can refer to article

    https://xtemos.com/docs-topic/theme-translation/
    https://xtemos.com/docs-topic/how-to-make-woodmart-multilingual-with-wpml/

    + You are also need to select the language for the backend and theme settings for admin from the admin user profile, please edit the user’s profile and then select the language for that user it will show the same on the backend.

    + Some strings related to Wishlist / Compare / Login & Register page, you can change in Theme Settings > Shop or Theme Settings > My account https://prnt.sc/W8Tt95stG3YC

    Regards,

    #643571

    the.nateghian
    Participant

    Dear Hung Pham,
    Thank you for your response and guidance. I followed the steps you mentioned, but unfortunately, the issue is still not resolved.
    My website is not multilingual, and I do not have the WPML plugin installed. However, I copied both Theme Translation files, but the changes did not take effect.
    Could you please advise on what else I can do to successfully change the text?
    Looking forward to your help.
    Best regards,

    Attachments:
    You must be logged in to view attached files.
Viewing 3 posts - 1 through 3 (of 3 total)