Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    May 2008
    Posts
    97
    Plugin Contributions
    0

    Default Add category name in Greek language problem

    Hi everyone,

    I have the cart running and everything so far works fine in demo. Now I have started adding categories using the Greek language. Nevertheless some items are accepted in Greek but then others are rejected.

    You can see it here: http://www.cubebookstores.gr/shop/in...index&cPath=69

    There you will see that it has a subcategory called "Λογοτ&#" instead of "Λογοτεχνία"

    Version 1.3.8

    Probably it is something silly but any idea/help/hint will be appreciated.

    Tassos

  2. #2
    Join Date
    May 2008
    Posts
    97
    Plugin Contributions
    0

    Default Problem with Greek pack

    Hi,

    I have installed the greek pack but when I try to enter categories some letters are not accepted. Any ideas?

    For example a category displays as Λογοτ&# instead of Λογοτεχνία . This is strange as I can enter the same phrase in the description without any problem. You can see it here:

    http://www.cubebookstores.gr/shop/in...ex&cPath=69_70

    I am using v1.3.8

    Any ideas will be appreciated.

    Tassos

  3. #3
    Join Date
    Nov 2007
    Location
    USA
    Posts
    889
    Plugin Contributions
    5

    Default Re: Problem with Greek pack

    Tassos:

    I am constantly checking for new versions so this is it. I am going to attempt to get this right. All previous contributions did not work.

    Try

    iso-8859-7

    You are using

    iso-8859-1
    Cheers!
    v2.2.1

  4. #4
    Join Date
    May 2005
    Posts
    51
    Plugin Contributions
    0

    Default Re: Problem with Greek pack

    Sorry for bumping the thread, but I have the very same problem.

    While on other (information) pages Greek letters with accent are accepted normaly, there is problem with categories.

    I use charset=iso-8859-7 - no result...

    Can someone help about this?

    Regards, Zoreli

  5. #5
    Join Date
    May 2005
    Posts
    51
    Plugin Contributions
    0

    Default Re: Problem with Greek pack - Solved

    I open the database, and the length of the categories_name in the table categories_description vas (varchar 32 or 35) ...I cant recall now.


    I make it varchar (255) and it work like a charm.

    That is because Greek data for each letter in the database look like: &%ERED and all this for one letter only, so you can imagine.

    Regards, Zoreli

  6. #6
    Join Date
    Nov 2007
    Location
    USA
    Posts
    889
    Plugin Contributions
    5

    Default Re: Problem with Greek pack

    Where exactly?
    Cheers!
    v2.2.1

  7. #7
    Join Date
    May 2005
    Posts
    51
    Plugin Contributions
    0

    Default Re: Problem with Greek pack

    Quote Originally Posted by webskipper View Post
    Where exactly?
    1. Open your database with PHP My Admin
    2. Locate the table categories_description
    3. Edit the length of categories_name to (varchar 255)

    Current length of this field is 32 or 35, make it 255, and the problem will be fixed.

    Hope this help
    Regards, Zoreli

  8. #8
    Join Date
    Nov 2007
    Location
    USA
    Posts
    889
    Plugin Contributions
    5

    Default Re: Problem with Greek pack

    Before I do that, will this fix my problem that when I edit the pages via ftp the letters get fouled and I have to upload the pack as is without corrections?
    Cheers!
    v2.2.1

  9. #9
    Join Date
    May 2005
    Posts
    51
    Plugin Contributions
    0

    Default Re: Problem with Greek pack

    I dont know. I never edit pages via FTP.
    I dont know how that work.

    My sugestion is:
    • to delete your language pack from server
    • to make the change in the database and then
    • to upload fresh language pack.

    It should work.

  10. #10
    Join Date
    May 2008
    Posts
    97
    Plugin Contributions
    0

    Default Re: Problem with Greek pack

    Hi ,

    I have solved the problem with the Greek language. I will try to explain it below but want to make it clear that i do not understand myself why it worked but it did and I didn't have to touch anything on the database neither I am a programmer. Here it goes:

    * I am using Zen cart v1.3.8 (could not get 1.3.8a to work)
    * I am using Greek language pack 1.00 (a big thank you goes to to Krom)

    Now to the solution:
    Shop front:
    Before you upload the files in shop/includes/languages/ find the file shop/includes/languages/greek.php
    Make sure that the following lines are reading like that:
    Line #21 : @setlocale(LC_TIME, 'greek.iso-8859-7'); (that's the one I changed from US to greek)
    Line #48 : define('CHARSET', 'iso-8859-7');

    Admin:
    As there is no admin version of the Greek language, I copied the English version and renamed the folder to Greek and the english.php to greek.php like shop/admin/includes/languages/greek.php

    I edited the charset to read:
    Line #63 : define('CHARSET', 'iso-8859-7');

    Now I can write and read in Greek like normal with long sentences etc. and without the letters getting messed up.

    As I said as I am no expert whatsoever I may have just got lucky but it is worth giving it a shot. Also I am hosting in US server so maybe that has an impact.

    Good luck

    Tassos

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. greek language pack problem
    By zoreli in forum Addon Language Packs
    Replies: 3
    Last Post: 5 Sep 2011, 08:56 AM
  2. CAPTCHA Image Problem with greek
    By xpcprocy in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 16 Jun 2011, 10:36 AM
  3. Greek language pack on version 1.3.8a
    By Phoebus in forum Addon Language Packs
    Replies: 3
    Last Post: 13 Oct 2010, 03:38 PM
  4. Good news for greek language pack on version 1.3.8
    By vasilios in forum Addon Language Packs
    Replies: 3
    Last Post: 16 Jan 2010, 08:10 AM
  5. Charset problem with Greek
    By Asdesign in forum Addon Language Packs
    Replies: 0
    Last Post: 12 Dec 2009, 05:34 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