Support » Plugin: WP Parallax Content Slider » Use different static sliders for different languages?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Yay! I have solved it! ^_^ If anyone else is trying it, I have replaced:



    if ($_GET['lang']=='es')
    { include('static-slides-spanish.php'); }
    else if ($_GET['lang']=='ca')
    { include('static-slides-catalan.php'); }
    else { include('static-slides-spanish.php'); }

    Where “static-slides-spanish.php” is the Spanish slideshow by default, and “static-slides-catalan.php” is the same slideshow, but translated to Catalan.

    Plugin Author wp-maverick


    That’s great, I hope this will help other users.
    Thanks for sharing 😉

    exactly what I needed! thanks for sharing the info.

    Unfortunately it does not work for me.
    But here is my solution. First, you must delete the following line

    { include(‘static-slides-german.php’); }

    { include(‘static-slides-english.php’); }

    { include(‘static-slides-french.php’); }

    if ($prlx_slider_mode === ‘dynamic’)
    print $outputDynamic.$outputScript;
    print $outputStatic.$outputScript;

    Plugin Author wp-maverick


    Hi Mojoberlin,
    since you use qTranslate, I think the ‘language test’ cannot be the same as biotess.

    There are many ways to manage the plugin translation, especially for static slides and I wish it was simpler. I want to write a FAQ entry to talk about that stuff but before, I want to figure out how to make the proper test depending on the i18n implementation of the WordPress install:
    if ($_GET['lang']=='xx')
    or others…

    If someone here has good ideas on how to implement something nicely, feel free to share it with us 😉

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Use different static sliders for different languages?’ is closed to new replies.