Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2009
    Location
    Hong Kong
    Posts
    12
    Plugin Contributions
    0

    Default Chinese: How to change the max. length of category title in category menu?

    I have installed the Simplified Chinese language pack and have been slowly translating my site into Chinese. However, when I translate the category names, only a maximum of 4 characters is shown. For example, if I type in a category name that consists of 6 Chinese characters, only the first 4 will show.

    How do I change the max. value so that the full name of the category in Chinese will be shown?

    Any suggestions? Thanks,
    Ed

  2. #2
    Join Date
    Sep 2005
    Location
    Hong Kong
    Posts
    307
    Plugin Contributions
    0

    Default Re: Chinese: How to change the max. length of category title in category menu?

    *Could be* the database field type restriction...

    Using phpMyAdmin, go to your zen cart database, navigate to the "categories_descriptions" table, change the field type of "categories_name".

    For example, if you have "varchar (32)", try and see if "varchar (64)" works for you.

    Make sure you write this change down somewhere, so that you will remember this when you upgrade or reinstall zen cart months or years later.

    Hope that helps :)

  3. #3
    Join Date
    Jun 2009
    Location
    Hong Kong
    Posts
    12
    Plugin Contributions
    0

    Default Re: Chinese: How to change the max. length of category title in category menu?

    Quote Originally Posted by shirster View Post
    *Could be* the database field type restriction...

    Using phpMyAdmin, go to your zen cart database, navigate to the "categories_descriptions" table, change the field type of "categories_name".

    For example, if you have "varchar (32)", try and see if "varchar (64)" works for you.

    Make sure you write this change down somewhere, so that you will remember this when you upgrade or reinstall zen cart months or years later.

    Hope that helps :)

    I tried what you advised, but unsuccessful. Are you using the Simplified Chinese language pack as well?

  4. #4
    Join Date
    Sep 2005
    Location
    Hong Kong
    Posts
    307
    Plugin Contributions
    0

    Default Re: Chinese: How to change the max. length of category title in category menu?

    Nope I'm using the Traditional Chinese language pack and do not have this problem. Sorry I can't be of much help !

  5. #5
    Join Date
    Jun 2009
    Location
    Hong Kong
    Posts
    12
    Plugin Contributions
    0

    Default Re: Chinese: How to change the max. length of category title in category menu?

    Actually, it did help. I had to retype the categories again in admin to see the results :)

    Thanks!

  6. #6
    Join Date
    Sep 2005
    Location
    Hong Kong
    Posts
    307
    Plugin Contributions
    0

    Default Re: Chinese: How to change the max. length of category title in category menu?

    Glad it worked ! :)

 

 

Similar Threads

  1. How can I change the sub-category page title?
    By lmg2009 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Oct 2011, 03:43 PM
  2. Replies: 8
    Last Post: 30 Jul 2011, 03:54 PM
  3. how to change length of category entries
    By Ralf Skirr in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Mar 2010, 04:36 PM
  4. category name max length
    By nrfy in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 16 Feb 2010, 10:49 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR