• Resolved denise8a

    (@denise8a)


    Hi,
    I just installed the plugin and seems to be working perfectly.
    I have been using Loco Translate for everything on my site. So I did to translate it.
    However for reason I haven’t been able to find the legend “type you answer here”, that appears after opening a question.
    Would you mind indicating me where I can find it?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Christian Rodríguez

    (@christianrh)

    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!

    Thread Starter denise8a

    (@denise8a)

    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!

    Plugin Support Iván Sosa

    (@ivansosa)

    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!

    Thread Starter denise8a

    (@denise8a)

    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

    Plugin Support Christian Rodríguez

    (@christianrh)

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Translation’ is closed to new replies.