The gettex function: ('__') receives the original string, in spite of the fact that the po file has the translation of the string. It happens accidentally.

Is there any method to find out the error?

  • Did you mean returns original string? Do all other strings related to the file translate right? – Rarst Jul 20 '17 at 13:30
  • Could it be using any special characters, and that's why it doesn't match? – WebElaine Jul 20 '17 at 13:56
  • Yes, it returns original string. There is no special character, The text is very simple: : 'View cart'. In this case WC uses ajax. Another original string: " Showing 1–10 of 32 results" has singular and plural. Do you think this can be the problem? – Batyuvitez Jul 20 '17 at 18:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.