This topic has 2 replies, 2 voices, and was last updated 7 years, 10 months ago ago by Olga Barlow
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
Hello,
This string is not hardcoded. You can translate it and also all the other theme strings using translation files.
Please, follow the documentation https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/
Regards
Tagged: persuasive, themes, titles, translation, woocommerce, wordpress, xstore
You must be logged in to reply to this topic.Log in/Sign up