Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jun 2013
    Location
    Hong Kong
    Posts
    27
    Plugin Contributions
    0

    Default 1.5 Simple Chinese pack ok for v1.5.1?

    Does anyone know the 1.5 Simple Chinese pack is compatible for 1.5.1 zencart?

    Actually, I am finding the Traditional Chinese language pack. But I can't find it after long time searching. So, if yes, I would like to replace all Simple Chinese content to traditional Chinese. What else should I have to modify other than content? Thanks very much!!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: 1.5 Simple Chinese pack ok for v1.5.1?

    Adapting a 1.5.0 language pack to 1.5.1 (or to any version) is a simple process:

    Compare the english files from v1.5.0 against the english files from v1.5.1. This shows you all the differences ... which are all the changes you need to make to your own language files (or to the older language pack).
    You will find some changed definitions (usually spelling fixes or slight wording variations), but mostly you will just find new definitions added, which you must add to your own language pack.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2013
    Location
    Hong Kong
    Posts
    27
    Plugin Contributions
    0

    Default Re: 1.5 Simple Chinese pack ok for v1.5.1?

    Thanks very much!
    I installed 1.5 schinese to 1.51 zencart, Then modified the file one by one. It seems going smooth even with COWOA module. But once I click "add to cart" from product info page to "The Shopping Cart ", half of the page disappeared in Chinese version!!!

    Picture of English version :
    Click image for larger version. 

Name:	eng.jpg 
Views:	168 
Size:	48.5 KB 
ID:	12730

    Picture of Chinese version :
    Click image for larger version. 

Name:	chinese.jpg 
Views:	164 
Size:	41.4 KB 
ID:	12731

    I've checked the source code, and find the following code cannot be generated in Chinese version html.
    <b>Thank you for adding this item to your shopping cart. <br /><br />Use the buttons below to update or remove items from your cart, continue shopping or proceed to the checkout.</b><br /><br /></div>

    <div class="cartTotalsDisplay important">Total Items: 1&nbsp;&nbsp;Weight: 120grams&nbsp;&nbsp;Amount: US$6.38</div>
    <br class="clearBoth" />


    <table border="0" width="100%" cellspacing="0" cellpadding="0" id="cartContentsDisplay">
    <tr class="tableHeading">
    <th scope="col" id="scQuantityHeading">Qty.</th>
    <th scope="col" id="scUpdateQuantity">&nbsp;</th>
    <th scope="col" id="scProductsHeading">Item Name</th>
    <th scope="col" id="scUnitHeading">Unit</th>
    <th scope="col" id="scTotalHeading">Total</th>
    <th scope="col" id="scRemoveHeading">&nbsp;</th>
    </tr>
    <!-- Loop through all products /-->
    <tr class="rowEven">
    <td class="cartQuantity">
    <input type="text" name="cart_quantity[]" value="1" size="4" /><br /><span class="alert bold"></span><br /><br /> </td>
    <td class="cartQuantityUpdate">
    <input type="image" src="includes/templates/abagon/buttons/english/button_update_cart.gif" alt="Change your quantity by highlighting the number in the box, correcting the quantity and clicking this button." title=" Change your quantity by highlighting the number in the box, correcting the quantity and clicking this button. " /><input type="hidden" name="products_id[]" value="2" /> </td>
    <td class="cartProductDisplay">
    <a href="http://www.laughmoreshop.com/index.php?main_page=product_info&amp;products_id=2&amp;zenid=krtuos83mdljqqgfgif ldlbm34"><span id="cartImage" class="back"><img src="bmz_cache/a/ac970aab93c0f15125c168d4d8a60ba0.image.34x40.jpg" alt="120 Denier compression stockings" title=" 120 Denier compression stockings " width="34" height="40" /></span><span id="cartProdTitle">120 Denier compression stockings<span class="alert bold"></span></span></a>

    <br class="clearBoth" />


    </td>
    <td class="cartUnitDisplay">US$6.38</td>
    <td class="cartTotalDisplay">US$6.38</td>
    <td class="cartRemoveItemDisplay">
    <a href="http://www.laughmoreshop.com/index.php?main_page=shopping_cart&amp;action=remove_product&amp;product_id=2&amp ;zenid=krtuos83mdljqqgfgifldlbm34"><img src="includes/templates/abagon/images/icons/small_delete.gif" alt="Delete this item from the cart by clicking this icon." title=" Delete this item from the cart by clicking this icon. " width="15" height="16" /></a>
    <input type="checkbox" name="cart_delete[]" value="2" /></td>
    </tr>
    <!-- Finished loop through all products /-->
    </table>

    <div id="cartSubTotal">Sub-Total: US$6.38</div>
    <br class="clearBoth" />

    <!--bof shopping cart buttons-->
    <div class="buttonRow forward"><a href="http://www.laughmoreshop.com/index.php?main_page=checkout_shipping&amp;zenid=krtuos83mdljqqgfgifldlbm34"><img src="includes/templates/abagon/buttons/english/button_checkout.gif" alt="Checkout" title=" Checkout " width="130" height="24" /></a></div>
    <div class="buttonRow back"><a href="http://www.laughmoreshop.com/index.php?main_page=product_info&amp;cPath=1_5&amp;products_id=2&amp;zenid=krtuo s83mdljqqgfgifldlbm34&amp;zenid=krtuos83mdljqqgfgifldlbm34"><img src="includes/templates/abagon/buttons/english/button_continue_shopping.gif" alt="Continue Shopping" title=" Continue Shopping " width="128" height="28" /></a></div>
    <div class="buttonRow back"><input type="image" src="includes/templates/abagon/buttons/english/button_update_cart.gif" alt="Change your quantity by highlighting the number in the box, correcting the quantity and clicking this button." title=" Change your quantity by highlighting the number in the box, correcting the quantity and clicking this button. " /></div>
    <!--eof shopping cart buttons-->
    </form>

    <br class="clearBoth" />

    <div class="buttonRow back"><a href="javascriptopupWindow('http://www.laughmoreshop.com/index.php?main_page=popup_shipping_estimator&amp;zenid=krtuos83mdljqqgfgifldlbm3 4')"><img src="includes/templates/abagon/buttons/english/button_shipping_estimator.gif" alt="Shipping Estimator" title=" Shipping Estimator " width="130" height="28" /></a></div>

    <!-- ** BEGIN PAYPAL EXPRESS CHECKOUT ** -->
    <!-- ** END PAYPAL EXPRESS CHECKOUT ** -->

    </div>



    </td>




    </tr>

    </table>





    </div>



    </div>






    </div>
    </div>
    <div class="body-bg">
    <div class="bottom-wrapper">
    <div id="footer">
    <div id="lt_corner">
    <div id="rt_corner">
    <div id="lb_corner">
    <!--bof-navigation display -->
    <div id="navSuppWrapper">
    <!--BOF footer menu display-->
    <table class="bottom-columns" cellpadding="0" cellspacing="0">
    <tr><td class="menuTitle first">Contact Information</td><td class="menuTitle second">Quick Links</td><td class="menuTitle third">Information</td><td class="menuTitle">Customer Service</td></tr><tr><td class="column first">
    email: [email protected]<div style="margin-top:10px;">
    <a target="_blank" href="#"><img alt="twitter" style="margin-right:3px;" src="includes/templates/abagon/images/twitter.gif"/></a>
    <a target="_blank" href="#"><img alt="facebook" style="margin-right:3px;" src="includes/templates/abagon/images/fbook.gif"/></a>
    <a target="_blank" href="#"><img class="icons" alt="blogger" style="margin-right:3px;" src="includes/templates/abagon/images/blogger.gif"/></a>
    </div></td><td class="column second"><ul><li><a href="http://www.laughmoreshop.com/">Home</a></li><li><a href="http://www.laughmoreshop.com/index.php?main_page=featured_products&amp;zenid=krtuos83mdljqqgfgifldlbm34">Feat ured Products</a></li><li><a href="http://www.laughmoreshop.com/index.php?main_page=specials&amp;zenid=krtuos83mdljqqgfgifldlbm34">Specials</a></li><li><a href="http://www.laughmoreshop.com/index.php?main_page=products_new&amp;zenid=krtuos83mdljqqgfgifldlbm34">New Products</a></li><li><a href="http://www.laughmoreshop.com/index.php?main_page=products_all&amp;zenid=krtuos83mdljqqgfgifldlbm34">All Products ...</a></li></ul></td><td class="column third"><ul><li><a href="index.php?main_page=shopping_cart">View Cart</a></li><li><a href="http://www.laughmoreshop.com/index.php?main_page=site_map&amp;zenid=krtuos83mdljqqgfgifldlbm34">Site Map</a></li><li><a href="http://www.laughmoreshop.com/index.php?main_page=gv_faq&amp;zenid=krtuos83mdljqqgfgifldlbm34">Gift Certificate FAQ</a></li><li><a href="http://www.laughmoreshop.com/index.php?main_page=discount_coupon&amp;zenid=krtuos83mdljqqgfgifldlbm34">Discou nt Coupons</a></li><li><a href="http://www.laughmoreshop.com/index.php?main_page=unsubscribe&amp;zenid=krtuos83mdljqqgfgifldlbm34">Newsletter Unsubscribe</a></li></ul></td><td class="column fourth"><ul><li><a href="http://www.laughmoreshop.com/index.php?main_page=contact_us&amp;zenid=krtuos83mdljqqgfgifldlbm34">Contact Us</a></li><li><a href="http://www.laughmoreshop.com/index.php?main_page=shippinginfo&amp;zenid=krtuos83mdljqqgfgifldlbm34">Shipping &amp; Returns</a></li><li><a href="http://www.laughmoreshop.com/index.php?main_page=privacy&amp;zenid=krtuos83mdljqqgfgifldlbm34">Privacy Notice</a></li><li><a href="http://www.laughmoreshop.com/index.php?main_page=conditions&amp;zenid=krtuos83mdljqqgfgifldlbm34">Conditions of Use</a></li><li><a href="http://www.laughmoreshop.com/index.php?main_page=account&amp;zenid=krtuos83mdljqqgfgifldlbm34">My Account</a></li></ul></td></tr></table> <!--EOF footer menu display-->
    <div class="clearBoth"></div>
    </div>
    </div>
    </div>
    </div>
    </div>

    </div>
    </div>
    <!--eof-navigation display -->
    <div class="bottom-wrapper">
    <!--bof-navigation display -->
    <div style="float:right;">
    </div>
    <!--eof-navigation display -->

    <!--bof- site copyright display -->
    <div id="siteinfoLegal" class="legalCopyright">Copyright &copy; 2013 <a href="http://www.laughmoreshop.com/index.php?main_page=index&amp;zenid=krtuos83mdljqqgfgifldlbm34" target="_blank">Laughmore Shop</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a></div>
    <!--eof- site copyright display -->

    <!--bof-ip address display -->
    <div id="siteinfoIP">Your IP Address is: 223.19.243.80</div>
    <!--eof-ip address display -->
    <div class="clearBoth"><img src="includes/templates/abagon/images/spacer.gif" width="2" height="1" alt="wastrong template" /></div>
    </div>




    <!-- bof- parse time display -->


    <!-- eof- parse time display -->





    </div>




    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-42057177-1");
    pageTracker._initData();

    pageTracker._trackPageview();
    pageTracker._trackPageLoadTime();
    </script></body>

    </html>
    I've tried several days to compare the files but really can't find the solution. Please help me!!! Does anyone know how to fix it.

    Thanks very much!!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: 1.5 Simple Chinese pack ok for v1.5.1?

    Quote Originally Posted by jaychan2013 View Post
    half of the page disappeared
    That strongly suggests you have PHP errors ... which could be simple syntax typos.
    See the logs: http://www.zen-cart.com/content.php?124-blank-page
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jun 2013
    Location
    Hong Kong
    Posts
    27
    Plugin Contributions
    0

    Default Re: 1.5 Simple Chinese pack ok for v1.5.1?

    I finally found out that I missed some files in the Chinese folder. Thanks DrByte!!!!

    Unfortunately, I have another problem! When I sent out order confirmation email to customer, some sections cannot decode the Chinese wordings correctly!

    I do set the checkout_process.php to utf-8.

    Belows red wordings are the sections which cannot be displayed correctly!

    Code:
    
    Order Confirmation from Laughmore Shop
     
    Jay Chan
     
    Thanks for shopping with us today!
    The following are the details of your order.
    ------------------------------------------------------
    Order Number: 5
    Date Ordered: Saturday 22 June, 2013
    Detailed Invoice:
    http://www.xxx.com/index.php?main_page=account_history_info&order_id=5
     
    Products------------------------------------------------------
    1 x 120 Denier compression stockings (F0020001) = HKD48.00
    1 x ######## Bra (F0010001) = HKD55.00
     Size Small
     color ########
    1 x Sleeping Beauty Hip Pants (F0020002) = HKD48.00
     Size Medium
    ------------------------------------------------------
    Sub-Total: HKD151.00
    Flat Rate (Registered Mail): HKD13.00
    Total: HKD164.00
    Reward Points earned: 151
     
    Delivery Address------------------------------------------------------
    ABC
    Jay Chan
    asdlgegrtgr
    wfgrgrege
    wegreg, 000000
     kowloon, Hong Kong
     
    Billing Address
    ------------------------------------------------------
    ABC
    Jay Chan
    asdlgegrtgr
    wfgrgrege
    wegreg, 000000
     kowloon, Hong Kong
     
    Payment Method------------------------------------------------------
    Direct Bank Deposit - BANK OF CHINA
    I know my knowledge is not enough to fix it by now!
    Could you tell me where I should correct them?

    Thanks very much!

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: 1.5 Simple Chinese pack ok for v1.5.1?

    Use the Developers Toolkit to search for a few of those problematic words, such as:
    Thanks for shopping with us today
    That will show you which files may still need editing.

    Ref:
    http://www.zen-cart.com/content.php?...-files-to-edit
    http://www.zen-cart.com/content.php?...lopers-toolkit
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v151 Tradional Chinese Langage Pack for 1.5~
    By mickadoo in forum Addon Language Packs
    Replies: 0
    Last Post: 4 Jun 2014, 11:25 AM
  2. error message for Chinese langauge pack
    By kcn6868 in forum Addon Language Packs
    Replies: 1
    Last Post: 3 Oct 2010, 07:05 AM
  3. Simplified Chinese language pack
    By neteasy in forum Addon Language Packs
    Replies: 15
    Last Post: 20 Oct 2009, 12:19 PM
  4. is there a pack for BOTH Traditional Chinese and Simplified Chinese
    By paulFromWales in forum Addon Language Packs
    Replies: 0
    Last Post: 11 Mar 2007, 02:57 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