Hello Denise,
Hope you are doing well 🙂
Open the file “wp-content\plugins\yith-woocommerce-question-and-answer\templates\ywqa-answers-template.php” and you have to edit the line 43 so where you see Type your answer here you have to replace it with this code:
<?php _e( "Type your answer here", 'yith-woocommerce-questions-and-answers' ); ?>
Please note that you don’t have to replace the quotes around the sentence, only replace the Type your answer here sentence.
After this change you should be able to translate the sentence using Loco Translate.
Try it out and let us know any news.
Have a good day!
Hi Christian!
Thanks for your fast response.
I tried to do the change you suggested.
I hope it was like this:
`<div>
<textarea placeholder=”<?php _e( “Type your answer here”, ‘yith-woocommerce-questions-and-answers’ ); ?>” class=”ywqa-send-answer-text”
It didn’t work.
Please let me know if I did something wrong.
Thanks!
Hi there,
I send in this reply, the textarea modified that my colleague Christian indicated to you:
<textarea placeholder="<?php _e( "Type your answer here", 'yith-woocommerce-questions-and-answers' ); ?>" class="ywqa-send-answer-text" id="ywqa_send_answer_text" name="ywqa_send_answer_text"></textarea>
I have added also this change to the plugin core in order to have it in the next version.
Check it and let us know.
Have a nice day!
Thank you both.
I tried again, but for some reason I am not able to translate that legend.
I can wait until the next version.
Thanks!
Denise
Hello there.
You are welcome!
We’ll set this topic on solved.
If you still have this problem with the next update please open a new one.
Have a good day.