WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have custom template that is used by ClassiPress and it is working fine on default language, but when I enter the page language selector won't work since it's not translated.

How can I translate custom page template with WPML so that language selector will work?

share|improve this question

To translate custom page templates you must select "Synchronize page template" in WPML options. For it to actually work the page template markup must be localized or internationalized using a recognized format, for example http://codex.wordpress.org/I18n_for_WordPress_Developers, and then have an accompanying .mo/.po file . WPML also has an addon called "String Translation module" which can scan for "stuff" to translate but its a better practice to actually tell it what it's looking for.

share|improve this answer
You actually won't be needing the .mo file perse, but your strings definitely have to be internationalized. If they're not then not any software will be able to pick up on them. – Piet Jan 25 '12 at 4:44

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.