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)

    Sorry, but I don't undrstand you.
    Quote Originally Posted by Digiwinkel View Post
    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 ?

  2. #2
    Join Date
    Jul 2010
    Location
    Velsen-Zuid
    Posts
    33
    Plugin Contributions
    2

    Default 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

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

    Default Re: Russian Language Pack (complete)

    Quote Originally Posted by Digiwinkel View Post
    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.

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

    Default 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 Code:
    <?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''&nbsp;*&nbsp;');
    define('NOT_CURRENT_PAGE_INDICATOR''&nbsp;-&nbsp;');

    // EOF

  5. #5
    Join Date
    Jul 2010
    Location
    Velsen-Zuid
    Posts
    33
    Plugin Contributions
    2

    Default 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

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

    Default Re: Russian Language Pack (complete)

    Hi Casper,
    Quote Originally Posted by Digiwinkel View Post
    My PHP-designer program showed only this Characters.
    I think that it can be set to utf-8

    Quote Originally Posted by Digiwinkel View Post
    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.

 

 

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