Child theme's tanslate .po .mo file

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

  • Avatar: yea73920
    yea73920
    Participant
    June 4, 2018 at 08:59

    Hi

    1.How to use the translated file in the Child theme ,

    I put zh_TW.mo、zh_TW.po on /wp-content/themes/woopress-child/languages ,but it’s doesn’t work,

    Only put in /themes/woopress/languages can work.

    Could you tell me how to do?

    2.If I want to translate woocommerce, how to put the .po .mo file in the woopress child theme?

    Thank you very much

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 4, 2018 at 10:03

    Hello,

    1. You need to translate parent theme. Place translations files into /wp-content/languages/themes folder. Save these files with your language name and woopress theme suffix, e.g woopress-de_DE.po.
    I would recommend you to use Loco Translate plugin https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/ (the same for woopress theme).
    2. Please read this article https://docs.woocommerce.com/document/woocommerce-localization/
    Let us know if you need any further assistance.

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

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