Did you create the .mo file from the .po ?
Hai Webby,
I didn’t.
And yea after I did it. It works.
But then I find another problem, there’s a translation that doesn’t show up.
In the .po file I can see the translation is already there:
#: templates/single-product-reviews.php:71
#@ woocommerce
msgid “There are no reviews yet, would you like to submit yours?”
msgstr “Belum ada ulasan, maukah anda untuk menulis ulasan Anda?”
But even I generate the .mo file. My shop, for that particular line is still using the original language.
What happened? How to fix it?
I already figure out the problem.
It turns out that the problem was the source language in .po contains some html code that’s different from the one in the coding itself (single-product-reviews.php)
in .po:
There are no reviews yet, would you like to <a href=\"#review_form\" class=\"inline show_review_form\">submit yours</a>?
in single-product-reviews.php:
There are no reviews yet, would you like to <a data-toggle="collapse" data-parent="#review_form" href="#review_form" class="inline show_review_form">submit yours</a>?
So I fixed it.
But now in the new update of WC 2.1.2 lines and phrases the old translation (Indonesia) be used anymore. I have to rescan it and as the result, many have disappear and I have to translate them again on my own.
And particularly for the line I mentioned above has turn into : “There are no reviews yet” only.
Damn…I spent days to figure out this problem and now.. 😐