Forums

WPML Multilingual CMS
Disable Translation Template Synchronization (1 post)

  1. Jandal
    Member
    Posted 1 year ago #

    G'day,

    In version 1.5 of WPML they introduced
    Synchronize page templates for translations
    http://wordpress.org/extend/plugins/sitepress-multilingual-cms/changelog/

    But I would like to have a custom template for each translation so was thinking it would be great to have a setting where I can toggle the behavior.

    Until I have more time to figure this out for myself, I will use the following hack in my template page.

    <?php if (strstr($_SERVER["REQUEST_URI"], '/en/') ) { ?>
      Print English stuff here
    <?php } else { ?>
      Print Other Language stuff here
    <?php } ?>

    Thanks,
    =-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic