Plugin Author
Bob
(@prasunsen)
I have added it in the .pot, you should be able to see “Next >” now
Wow, that was fast, thanks. I see “Next >” in pot now but even new translated .mo and .po files in server does not change the text in “Next >” button. I tested translating “show answer” with multiple ways and it changed everytime I uploaded updated files but Next > did not.
Plugin Author
Bob
(@prasunsen)
Cleanup your cache, maybe the Javascript is cached. I really don’t see how it’s possible not to get translated and have no idea what else to do.
No luck with cache. Can you tell which file has this problematic button code, if I try to hardcode translation. I also thought js to change value but input type & ID are same as “show answer” button so coudn’t target it.
This is my inspect from “Show answer” button, value is translated ok
<input type=”button” id=”show-answer” value=”Näytä vastaus”>
and this is inspect after answer is shown and Next-button is visible
<input type=”button” id=”show-answer” value=”Next >”>
Plugin Author
Bob
(@prasunsen)
script.js line 130:
jQuery("#show-answer").val(watu_i18n.next_q);
Hardcoded now and works, a little bit extra work to change it with every update but worth it, thanks again.