Results 1 to 10 of 10

Hybrid View

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

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

    my server is windows xp sp2+ APMServ5.2:
    Apache 2.2.3
      NetBox 2.8 Build 4128
     PHP 5.2.0
      MiniPerl 5.8
      MySQL 5.0.27
      MySQL 4.0.26
      SQLite 3.3.8
      phpMyAdmin 2.9.1.1
      SQLiteManager 1.2.0  ZendOptimizer 3.2.0
      OpenSSL 0.9.8d

    installed Simchinese language pack (utf-8).

    display wrong:该商品加入分类的日期为2003年%m月%d日

    How can i settle this problem?
    Thank you!

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Some wrong with setlocal()

    https://www.zen-cart.com/tutorials/index.php?article=26 You have followed the procedure of that FAQ?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

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

    Default Re: Some wrong with setlocal()

    change @setlocale(LC_TIME, 'zh_CN.UTF-8');
    to @setlocale ( LC_ALL, "China" );

    no effect yet.
    why?

    What is the corect format?
    Thanks

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

    red flag Need help!setlocal()

    If anybody knows how to set the locale on Windows to the equivalent of "zh_CN.UTF-8" on windows xp sp2, please do tell me.

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

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

    Assuming you leave this setting at:

    PHP Code:
     @setlocale(LC_TIME'zh_CN.UTF-8'); 
    Maybe you can try to check and play with these 2 settings as well.

    PHP Code:
     // Global entries for the <html> tag
      
    define('HTML_PARAMS','dir="ltr" lang="zh"');

    // charset for web pages and emails
      
    define('CHARSET''UTF-8'); 
    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

  6. #6
    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.

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

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

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


 

 

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