Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Some wrong with setlocal() on windows xp local server

    Yes, I just do that! But the matter going on.

  2. #2
    Join Date
    Oct 2006
    Posts
    624
    Plugin Contributions
    0

    Default Re: Some wrong with setlocal() on windows xp local server

    Can you tell me where you got the language pack so I can take a closer look at it?

  3. #3
    Join Date
    Aug 2007
    Posts
    6
    Plugin Contributions
    0

    red flag Re: Some wrong with setlocal() on windows xp local server


  4. #4
    Join Date
    Oct 2006
    Posts
    624
    Plugin Contributions
    0

    Default Re: Some wrong with setlocal() on windows xp local server

    I have downloaded and experimented with the language pack you showed me.

    To display the month properly if your Zen Cart runs on a Windows machine, your "schinese.php" file could have the following settings.

    PHP Code:
    setlocale(LC_ALL'Chinese_China.936'); 
    PHP Code:
    define('HTML_PARAMS','dir="ltr" lang="zh"'); 
    PHP Code:
    define('CHARSET''Windows-936'); 
    Unfortunately, once your month displays properly, your browser may display the rest of the characters incorrectly due to the encoding that was used to edit the translated files. You may like to contact the language pack author and discuss with him/her on the best approach for your case - taking into consideration the possibility that your live Zen Cart store will be running on a Linux/Unix machine instead of a Windows machine.

    Alternatively, you can download and install the Simplified Chinese language pack in the downloads section on top of an existing English installation. That language pack is for GB2312 but you can adjust the "schinese.php" file with the above settings and see if it meets your needs assuming you are running on a Windows machine.
    Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
    Printed book: www.lulu.com/content/10576284
    Electronic book and Errata: www.cucumbermedia.com/store

  5. #5
    Join Date
    Aug 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Some wrong with setlocal() on windows xp local server

    我已经解决了问题,谢谢canopy

 

 

Similar Threads

  1. Replies: 0
    Last Post: 6 Aug 2014, 11:14 PM
  2. Local host windows to linux server
    By vazvi in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 4 Feb 2011, 02:41 PM
  3. Some images not found after transfer from local server to host server
    By simon1066 in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 1 Apr 2009, 02:48 PM
  4. Windows local machine to Linux server?
    By Waggle Dancer in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 3 Oct 2007, 04:28 AM
  5. Cannot send email after upgrade using local Windows server
    By AcurA in forum Upgrading from 1.3.x to 1.3.9
    Replies: 6
    Last Post: 8 Sep 2006, 09:18 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