Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #49222
    adamsh
    Participant

    Hi,
    I’m working with polylang wich is a pluging based on wpml.
    So far I have been able to translate almost all the site exept:
    * homepage headline
    * homepage subheadline
    * homepage headline button
    I have been contacted polylang support and try to fix the problem with no success so far. I hope maybe you have any ideas
    Here is my coresponding with polylang:
    https://wordpress.org/support/topic/string-tranlation-problame?replies=21#post-6359776

    #49243
    Sakin
    Keymaster

    @adamsh: Yes, it works with WPML and has wpml-config.xml file. We have compatibility certify from WMPL http://wpml.org/theme/catch-kathmandu-pro/

    But we haven’t added support for this plugin. So, I don’t think it will work properly. You might need to build child theme. You can ready about child theme and download sample child theme from http://catchthemes.com/blog/create-child-theme-wordpress/ and then add the following code in your child theme functions.php file.

    /**
     * Template for Clearing polylang Invalid Cache
     *
     * @since Catch Kathmandu Pro
     */
    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' );
    #49314
    adamsh
    Participant

    thanks man, it’s working!
    now maybe you know if i can change the text from ltr to rlt in the Homepage Headline and Subheadline Text when the site is in hebrew? and maybe there is a way to move the Homepage Headline Button to the left when the site is in hebrew?
    thanks, again, for all the help

    #49423
    Sakin
    Keymaster

    @adamsh: Can you show me your site in Hebrew language and then I can check in. Sorry we are not being to reply to fast due to holiday session and I am out of city.

    #49427
    adamsh
    Participant

    http://woodyaalon.com/he/
    Tell me if you can’t see the site I will add a screen print

    #49457
    Sakin
    Keymaster

    @adamsh: Just add the following css in “Appearance => Theme Options => Custom CSS” box:

    .rtl #homepage-message .left-section {
        text-align: right;
    }
    #49458
    adamsh
    Participant

    thankes man your the best!
    sorry for beeing so nagging, but there is a way that when the site is watched in hebrew the “Homepage Headline Button” will move to the left and the post title on the Featured Slider will be on the right?

    #49509
    Sakin
    Keymaster

    @adamsh:
    For slider content, try adding in the following css:
    .rtl #main-slider .entry-container { right: 50px; }

    You homepage headline button in on left only.

    #49535
    adamsh
    Participant

    It’s working but now the label is on the next and previous buttons, is it possible to move them to the left?

    #49536
    adamsh
    Participant

    And if we on the same subject, is it possible to do that the items I put on the right header sidebar will be on the center when I watch the site on smartphon? (like the logo and the main title does)
    Tanks for the help

    #49557
    Sakin
    Keymaster

    @adamsh: You can add the following css in “Appearance => Theme Options => Custom CSS” box:

    .rtl #slider-nav { right: 85%; }
    @media screen and (max-width: 960px) {	
        #pg-w549ada1fef013-0 .panel-grid-cell {
            float: none;
            text-align: center;
            width: 100%;
        }
    }
    #49567
    adamsh
    Participant

    tanks a lot for all the hard work,
    now all is good 🙂

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Translation problem’ is closed to new replies.