Translation of Titles for Xstore - by juanka333

This topic has 2 replies, 2 voices, and was last updated 7 years, 4 months ago ago by Olga Barlow

  • Avatar: juanka333
    juanka333
    Participant
    December 23, 2016 at 10:45

    Hi,

    I want to be able to translate different Titles on the woocommerce pages like in “single-product-content.php”, the title “Product Information” should not be hardcoded becuase I am not able to translate it. How could I change this to a title variable instead to be able then to translate in French?

    <h4 class=”title”><?php esc_html_e(‘Product Information’, ‘xstore’); ?></h4>

    Thank you

    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 26, 2016 at 08:30

    Hello,

    This string is not hardcoded. You can translate it and also all the other theme strings using translation files.
    Please, follow the documentation http://xstore.helpscoutdocs.com/article/30-base-theme-translation

    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.