Results 1 to 10 of 34

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Russian Language Pack (complete)

    Hi,
    Quote Originally Posted by Doodlebuckets View Post
    Here is my site: http://ciscotraining-kherson.com

    Andrei, I have added the Russian language pack and all is well. Wondering if you have any advice on how to fix it so the slider appears in Russian in the Russian language mode. We have created separate graphics in Russian but not sure how to make it display only when on the Russian language side....all the references to the slider are in the includes/templates/sheffield_blue/ folder and I have tried and tried to make a Russian folder in there to make the graphics display with the Russian text on the Russian side but it never works...I would very much appreciate you help :)
    What slider you use?

  2. #2

    Default Re: Russian Language Pack (complete)

    Quote Originally Posted by a_berezin View Post
    Hi,


    What slider you use?
    http://www.picaflor-azul.com/index.p...ducts_id=15059 It came with this template...

  3. #3
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Russian Language Pack (complete)

    Hi,
    Quote Originally Posted by Doodlebuckets View Post
    Try this file tpl_home_slider.php.
    PHP Code:
    <?php
    $slider_array 
    = array(
                          array(
    'url' => 'http://www.picaflor-azul.com''img' => 'slide1.jpg''alt' => ''),
                          array(
    'url' => 'http://www.picaflor-azul.com''img' => 'slide2.jpg''alt' => ''),
                          array(
    'url' => 'http://www.picaflor-azul.com''img' => 'slide3.jpg''alt' => ''),
                          array(
    'url' => 'http://www.picaflor-azul.com''img' => 'slide4.jpg''alt' => ''),
                          array(
    'url' => 'http://www.picaflor-azul.com''img' => 'slide5.jpg''alt' => ''),
                          );
    define(ARROW_PREV'arrow-prev.png');
    define(ARROW_NEXT'arrow-next.png');
    define(PRELOAD'loading.gif');
    $slider_img_dir $template->get_template_dir(''DIR_WS_TEMPLATE$current_page_base'images');
    ?>
    <script type="text/javascript">
    $(function(){
      $('#slides').slides({
        preload: true,
        preloadImage: '<?php echo $slider_img_dir '/' PRELOAD?>',
        play: 5000,
        pause: 2500,
        hoverPause: true
      });
    });
    </script>

    <div id="container">
      <div id="example">
        <div id="slides">
          <div class="slides_container">
    <?php
    foreach ($slider_array as $slider_row) {
      if (
    is_file($slider_img_dir '/' $_SESSION['language'] . '/' $slider_row['img'])) {
        
    $slider_row['img'] = $_SESSION['language'] . '/' $slider_row['img'];
      }
    ?>
            <a href="<?php echo $slider_row['url']; ?>"><img src="<?php echo $slider_img_dir '/' $slider_row['img']; ?>" alt="<?php echo $slider_row['alt']; ?>" /></a>
    <?php
    }
    ?>
          </div>
          <a href="#" class="prev"><img src="<?php echo $slider_img_dir '/' ARROW_PREV ?>" width="24" height="43" alt="Arrow Prev" /></a>
          <a href="#" class="next"><img src="<?php echo $slider_img_dir '/' ARROW_NEXT ?>" width="24" height="43" alt="Arrow Next" /></a>
        </div>
      </div>
    </div>
    And load all russian slide images to includes/templates/sheffield_blue/images/russian/.

    P.S. The code may be typos - I did not check how it works.

  4. #4

    Default Re: Russian Language Pack (complete)

    Thank you! It works perfectly and the links on the slider go to the Russian pages :) Thanks so much!!!

  5. #5
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Russian Language Pack (complete)

    Hi,
    Quote Originally Posted by Doodlebuckets View Post
    Thank you! It works perfectly and the links on the slider go to the Russian pages :) Thanks so much!!!
    Happy to help! :)

  6. #6
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Russian Language Pack (complete)

    Upload Russian Language Pack 1.5.5a (complete) to https://www.zen-cart.com/downloads.php?do=file&id=1244

 

 

Similar Threads

  1. Spanish Language Pack (complete and UTF8) for Zen Cart 1.39b
    By torvista in forum Addon Language Packs
    Replies: 133
    Last Post: 10 Aug 2012, 09:49 PM
  2. RUSSIAN PACK v1.3.7
    By altryne in forum Addon Language Packs
    Replies: 3
    Last Post: 18 Aug 2007, 10:04 AM
  3. Russian Language pack
    By a_berezin in forum Addon Language Packs
    Replies: 2
    Last Post: 21 Mar 2007, 07:37 AM
  4. Russian Pack
    By ziggy60 in forum General Questions
    Replies: 5
    Last Post: 25 Feb 2007, 07:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg