Forums / Addon Language Packs / Russian Language Pack (complete)

Russian Language Pack (complete)

Views: 39,615

Results 21 to 34 of 34
10 Apr 2013, 3:18 PM
#21
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Russian Language Pack (complete)

Sorry, but I don't undrstand you.

Digiwinkel:

Is there a online converter somewhere to encode for instance this word:

О компании

into these utf-8 characters?
Here these word "О компании" already are in utf-8.

May be you're talking about something else ?

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Apr 2013, 3:31 PM
#22
digiwinkel avatar

digiwinkel

New Zenner

Join Date:
Jul 2010
Location:
Velsen-Zuid
Posts:
33
Plugin Contributions:
0

Re: Russian Language Pack (complete)

Aah OK!

For instance from ez_pages_definitions.php.

define('BOX_HEADING_EZPAGES','Информация');
define('TEXT_EZ_PAGES_TABLE_CONTEXT', 'Содержимое');
define('CURRENT_PAGE_INDICATOR', ' * ');
define('NOT_CURRENT_PAGE_INDICATOR', ' - ');

'Ð˜Ð½Ñ„Ð¾Ñ€Ð¼Ð°Ñ†Ð¸Ñ -This tekst stands for russian readable tekst in the shop-front.

I want to change some tekst in this format ('ИнформациÑ) but cannot find anywhere how to transform (maybe some online converter?) this the other way,...

I want to type in Cyrillic language and then transform the Cyrillic Characters to this UTF-8 type characters :-)

This I want to drop back in some of the language files and then I've readable text again in the storefront.

Kind regards,

Casper

10 Apr 2013, 3:44 PM
#23
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Russian Language Pack (complete)

Digiwinkel:

Aah OK!

For instance from ez_pages_definitions.php.

define('BOX_HEADING_EZPAGES','Информация');
define('TEXT_EZ_PAGES_TABLE_CONTEXT', 'Содержимое');
define('CURRENT_PAGE_INDICATOR', '##*##');
define('NOT_CURRENT_PAGE_INDICATOR', '##-##');

'Ð˜Ð½Ñ„Ð¾Ñ€Ð¼Ð°Ñ†Ð¸Ñ -This tekst stands for russian readable tekst in the shop-front.

I want to change some tekst in this format ('ИнформациÑ) but cannot find anywhere how to transform (maybe some online converter?) this the other way,...

I want to type in Cyrillic language and then transform the Cyrillic Characters to this UTF-8 type characters :-)

This I want to drop back in some of the language files and then I've readable text again in the storefront.

Kind regards,

Casper
You really don't understand me.
This text is ALREADY in utf-8!!! It does not need to convert!!!
Your whole site should be in utf-8!!! Including the database.

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Apr 2013, 3:47 PM
#24
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Russian Language Pack (complete)

If you look at the file ez_pages_definitions.php in the viewer with a properly configured encoding view utf-8, you'll see this:

<?php
/**
 * ezpages language components - used when displaying components for EZ-Pages content
 *
 * @package languageDefines
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @Localization: Andrew Berezin http://eCommerce-Service.com
 * @version $Id: ez_pages_definitions.php 1.3.8 15.02.2009 15:07:46 AndrewBerezin $
 */


// ez-pages sidebox title name
define('BOX_HEADING_EZPAGES','Информация');
define('TEXT_EZ_PAGES_TABLE_CONTEXT', 'Содержимое');
define('CURRENT_PAGE_INDICATOR', ' * ');
define('NOT_CURRENT_PAGE_INDICATOR', ' - ');

// EOF

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Apr 2013, 3:57 PM
#25
digiwinkel avatar

digiwinkel

New Zenner

Join Date:
Jul 2010
Location:
Velsen-Zuid
Posts:
33
Plugin Contributions:
0

Re: Russian Language Pack (complete)

Hi Andrew,

Thanks for your help! This was too easy,.. My PHP-designer program showed only this Characters. I opened the file in a plain text editor and now I could read the Cyrillic characters.

Thanks for putting me in the right direction!

Kind regards,

Casper

10 Apr 2013, 4:10 PM
#26
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Russian Language Pack (complete)

Hi Casper,

Digiwinkel:

My PHP-designer program showed only this Characters.
I think that it can be set to utf-8

Digiwinkel:

I opened the file in a plain text editor and now I could read the Cyrillic characters.
Be careful - files should be saved without tags BOM!!! The default windows editor notebook does not know how to save without BOM! You can use free editors Notepad++ and Notepad2.

To check extra spaces including BOM in php files you can use my script found_extra_space.php.

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Apr 2013, 8:12 PM
#27
digiwinkel avatar

digiwinkel

New Zenner

Join Date:
Jul 2010
Location:
Velsen-Zuid
Posts:
33
Plugin Contributions:
0

Re: Russian Language Pack (complete)

Thanks Andrew,

After PHP-Designer's update all characters are visible in appropriate way! PHP-designer now switches automaticly between different Charsets.

The following is very usefull for anyone experiencing the same issues,...

Be careful - files should be saved without tags BOM!!! The default windows editor notebook does not know how to save without BOM! You can use free editors Notepad++ and Notepad2.

Everything fine at this moment! THNXS for uploading the UTF-8 Russian Languagepack contribution.

Kind Regards,

Casper

30 Jul 2013, 3:22 PM
#28
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Russian Language Pack (complete)

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 :)

31 Jul 2013, 3:09 AM
#29
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Russian Language Pack (complete)

Hi,

Doodlebuckets:

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?

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

31 Jul 2013, 6:07 PM
#31
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Russian Language Pack (complete)

Hi,

Doodlebuckets:

http://www.picaflor-azul.com/index.php?main_page=document_product_info&cPath=27&products_id=15059 It came with this template...
Try this file tpl_home_slider.php.

<?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.

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

31 Jul 2013, 8:11 PM
#32
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Russian Language Pack (complete)

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

31 Jul 2013, 8:52 PM
#33
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Russian Language Pack (complete)

Hi,

Doodlebuckets:

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

Happy to help! :)

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

14 May 2016, 5:29 PM
#34
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

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

NOTE: We are sorry that Andrew is no longer with us.
We are grateful for all his contributions to the Zen Cart community.