0

I've just recently learned about .po and .mo files in WordPress Themes. My question is, are these files supposed to be used to translate page and post content or just the WordPress backend along with Plugins?

  • This Codex page explains how translation functions work. – Milo Mar 19 '15 at 20:17
  • Yes, I read through the codex and it seemed to me that the .po files are used to translate text strings in development files. We are in the process of having our sites content translated and the translation service has requested the .po files. – brandozz Mar 19 '15 at 20:24
1

.po and .mo files are for translating strings in code files. For translating post content use a translation plugin. I've used a few and find WPML to be the best in many aspects.

Incidentally, they have a built-in workflow for translating both content and strings in code files.

  • Thank you shahar, the translation service caused me some confusion today. Thanks again! – brandozz Mar 20 '15 at 1:44

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.