Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #115561
    g1cube
    Participant

    Hello,
    Having problem translating home page featured title, link and content.

    I followed instruction to set the wpml-config.xml:

    <wpml-config>
    <admin-texts>
    <key name=’catchkathmandu_options’>
    <key name=’search_display_text’ />
    <key name=’homepage_headline’ />
    <key name=’homepage_subheadline’ />
    <key name=’homepage_headline_button’ />
    <key name=’homepage_headline_url’ />
    <key name=’more_tag_text’ />
    <key name=’homepage_featured_title’>
    <key name=’1′ />
    <key name=’2′ />

    </key>
    <key name=’homepage_featured_url’>
    <key name=’1′ />
    <key name=’2′ />

    </key>
    <key name=’homepage_featured_content’>
    <key name=’1′ />
    <key name=’2′ />

    </key>
    </key>
    </admin-texts>
    </wpml-config>

    Added the function in functions.php:

    function catchkathmandu_polylang_invalidcache() {
    delete_transient( ‘catchkathmandu_post_sliders’ );
    delete_transient( ‘catchkathmandu_page_sliders’ );
    delete_transient( ‘catchkathmandu_category_sliders’ );
    delete_transient( ‘catchkathmandu_image_sliders’ );
    delete_transient( ‘catchkathmandu_homepage_headline’ );
    delete_transient( ‘catchkathmandu_homepage_featured_content’ );
    delete_transient( ‘catchkathmandu_footer_content’ );
    delete_transient( ‘catchkathmandu_footercode’ );
    delete_transient( ‘catchkathmandu_featured_image’ );
    }
    add_action( ‘after_setup_theme’, ‘catchkathmandu_polylang_invalidcache’ );

    All feilds are availble in Polylang Strings translations.
    After editing and saving the translations, I browse the home page in both language and then the Polylang Strings translations are rewrited.

    Does the Pro version would correct this situation?

    Please Help,
    Martin

    #115589
    Mahesh
    Keymaster

    @g1cube: Pro version is compatible with WPML and Qtranslate-X. Polylang may or may not be compatible with the theme.

    Regards,
    Mahesh

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Polylang string translation rewrited’ is closed to new replies.