Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.