Nivo Slider for WordPress
How to translate captions with qtranslate (3 posts)

  1. wenomutor
    Posted 3 years ago #

    Well the subject is quite self explanatory. I'd like to make image captions translatable with qtranslate. The shortcodes {:en} or <--:en--> don't seem to work. Has anybody encountered similar problem?


  2. pabloacastillo
    Posted 3 years ago #

    Hi there, i added support for qTranslate.
    It was easier than i though.

    You must modify the file "nivoslider4wp-show.php" and put __() arround every $item->nivoslider4wp_text_headline

    Here you have the full file on pastebin, take a look at lines 20 and 22


  3. wenomutor
    Posted 3 years ago #

    I only just yesterday came to that sollution myself :) Forgot to post it here. Thank you very much either way!
    If I could bend your ear a bit more: ideally in admin panel I would like to have n different text areas for n languages installed in qtranslate (pretty much in a simmilar way to how qtranslate works with visual/html editor). Would that be much work? Maybe something to think about for future versions? (if there are any planned)
    Thanks for the plugin though - really nice and easy to implement/use.
    Cheers mate!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic