Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I translated all my theme strings and saved in .po and .mo files. I tested the implementation and it works fine, however I'm not sure how to let users choose their own language.

Are there any built-in functions to do this? How do I do it?

share|improve this question
Language of whole site? Of front end? Registered users or any visitors? There is quite a range of things that might be required with languages, please clarify what exactly do you mean. – Rarst Mar 11 '14 at 21:03
For any visitors – Lisandro Vaccaro Mar 12 '14 at 0:44

1 Answer 1

There are two types of translations in the WordPress website:

  1. Label Translation in WordPress Core and Theme, for that gettext technique is useful (as mentioned by you .po and .mo files)
  2. Content Translations for that you will need to add multi-lingual plugin to handle such feature. Good Example of such plugin are:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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