- This topic has 11 replies, 2 voices, and was last updated 11 years ago by
adamsh.
-
AuthorPosts
-
December 22, 2014 at 11:57 pm #49222
adamsh
ParticipantHi,
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-6359776December 24, 2014 at 12:00 am #49243Sakin
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' );December 24, 2014 at 11:49 pm #49314adamsh
Participantthanks 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 helpDecember 29, 2014 at 10:28 pm #49423Sakin
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.
December 29, 2014 at 10:45 pm #49427adamsh
Participanthttp://woodyaalon.com/he/
Tell me if you can’t see the site I will add a screen printDecember 30, 2014 at 11:21 pm #49457Sakin
Keymaster@adamsh: Just add the following css in “Appearance => Theme Options => Custom CSS” box:
.rtl #homepage-message .left-section { text-align: right; }December 30, 2014 at 11:52 pm #49458adamsh
Participantthankes 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?January 2, 2015 at 5:45 pm #49509Sakin
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.
January 3, 2015 at 7:06 pm #49535adamsh
ParticipantIt’s working but now the label is on the next and previous buttons, is it possible to move them to the left?
January 3, 2015 at 7:11 pm #49536adamsh
ParticipantAnd 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 helpJanuary 4, 2015 at 8:18 pm #49557Sakin
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%; } }January 4, 2015 at 10:05 pm #49567adamsh
Participanttanks a lot for all the hard work,
now all is good 🙂 -
AuthorPosts
- The topic ‘Translation problem’ is closed to new replies.
