WordPress.org

Ready to get started?Download WordPress

Forums

WP Parallax Content Slider
Read More text and qtranslate plugin (8 posts)

  1. snecz
    Member
    Posted 1 year ago #

    First of all thank you for amazing plugin.
    And this is first slaider plugin working great with qtranslate plugin out of the box.
    Just one question: Where I can edit it so "Read More" would be also tranlated?
    Thanks a lot.

    http://wordpress.org/extend/plugins/wp-parallax-content-slider/

  2. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    Hello,
    Do you use the latest version of the plugin v0.9.3?

  3. snecz
    Member
    Posted 1 year ago #

    Version 0.9.4

  4. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry, that's true we are in v0.9.4 ;) Are you using dynamic or static mode?

  5. snecz
    Member
    Posted 1 year ago #

    Dynamic

  6. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    That's weird, this "Read more" string should be translatable:
    https://github.com/jlethuau/wp-parallax-content-slider/blob/master/wp-parallax-content-slider.php#L338

    The entry has also been added to the .pot file:
    https://github.com/jlethuau/wp-parallax-content-slider/blob/master/locale/wp-parallax-content-slider.pot#L18

    I don't know qTranslate. Maybe I forgot something but I don't know what :(

  7. snecz
    Member
    Posted 1 year ago #

    When I change language everything changes except for this.
    For example "read more" in post excerpt changes for polish. But not in the slider.

  8. shakoor_h
    Member
    Posted 1 year ago #

    I don't think it will translate because it is in the code as a string. If you hit Ctrl+F in the wp-parallax-content-slider.php, and search for Read More, you will find it here:

    $outputSlide .= "<a href='".$link_article."' class='da-link'>Read More</a>"."\n";

    Then just change the Read More text as needed, but it won't translate dynamically unfortunately.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic