Okay
  Public Ticket #2671567
How could I edit woocommerce default message and product background?
Closed

Comments

  • robinyeung started the conversation

    I am apply Chinese in my website. I would like to edit the default text from English to Chinese. For example, edit "Add to Cart" to "加入購物車". May I know how could I do? 

    On the other hand, could I edit margin between the product image and gray background? Besides, could I remove the gray background also?

    Thank you.

  •  2,265
    Ylli replied

    Hi robinyeung,

    1— To automatically translate WooCommerce strings you just need to change your WordPress language to Chinese.

    As for the Kalium theme strings, if you want to rename them you just need to use the Loco Translate plugin (read more).

    2— We add some extra CSS codes on some of our demos to make them more special, but in some rare cases they may create a problem if any client wants to create something that we haven't imagined in that case scenario.

    If you want to remove that you just need to go to Appearance > Theme Editor > make sure that on the Stylesheet (style.css) file is selected and remove (or comment) those codes:

    .woocommerce .product .product-images a {
        max-width: 50%;
        margin: 50px auto;
    }
    /* Shop - Single Iteme Image Resize to 50% */
    .kalium-woocommerce-product-gallery .main-product-images .woocommerce-product-gallery__image a {
        max-width: 50%;
        margin: 50px auto;
    }

    See a video example: https://d.pr/v/IcSfiS

    Have a nice day!

    Kind regards,
    Ylli


      Documentation         Join Kalium Users Group

  • robinyeung replied

    Hi Ylli,

    Thank you for your reply. The CSS solution is work for me. Fixed. However, the language problem cannot be fixed. I have changed my WordPress language and install the plugin. However, the text is still English. Are there any layers control the second level on the language? Any next steps I need to do after changing my WordPress language? 

    Example 1:
    http://e-health.link/shop-2/
    The text is still showing English "Showing 1–12 of 17 results". Where could I edit for it? 

    Example 2:
    http://e-health.link/product/%e9%9f%93%e5%9c%8b%e8%a3%bd%e9%80%a0clean-edge-uv-light-%e6%ae%ba%e8%8f%8c%e7%87%88/ 

    The text is still showing English "Share this item". Where could I edit for it? 

    Thank you.

    Cheers,
    Robin

  •  2,265
    Ylli replied

    Hi Robin,

    Those words that you mention are strings that are offered by Kalium theme, we also offer pre-translation of Kalium files in 18 languages but unfortunately, Chinese is not offered because no-one contributed Chinese translation files for us.

    As for the Kalium theme strings, if you want to rename them you just need to use the Loco Translate plugin (read more).

    Thanks!

    Kind regards,
    Ylli


      Documentation         Join Kalium Users Group