Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2005
    Posts
    460
    Plugin Contributions
    0

    Default Translating Sub-Total for emails

    Hi,

    I am trying to translate "Sub-Total" and "Total" for ZC emails in a way that it would work properly in my language. I need to use for example letter "ä" (a with two dots) in it but if I make it like it should be for the emails written with coding "‰" it appears badly on the Checkout Success page. If I write it with html "ä" it appears in html code in email but then it is ok in the web shop part.

    So, the problem is that these things hasn't been separated for email translation and for the website like it normally has been done in ZC. How could I fix this BUG by myself or is there a fix already available?

    HERE ARE THE FILES THAT THIS THING APPEARS:

    .../shop/admin/includes/languages/finnish/invoice.php
    Line #37 : define('ENTRY_SUB_TOTAL', 'Sub-Total:');

    .../shop/admin/includes/languages/finnish/orders.php
    Line #63 : define('ENTRY_SUB_TOTAL', 'Sub-Total:');

    .../shop/includes/languages/finnish/modules/order_total/ot_subtotal.php
    Line #22 : define('MODULE_ORDER_TOTAL_SUBTOTAL_TITLE', 'Sub-Total');
    Line #23 : define('MODULE_ORDER_TOTAL_SUBTOTAL_DESCRIPTION', 'Order Sub-Total');


    Thanking before hand already!

    Elli
    I may be blond but at least I found Zen.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Translating Sub-Total for emails

    You might be able to trick this converter into working for you:

    Admin->Configuration->Email Options:
    "Convert currencies for Text emails"

    The default setting is: £,£:€,€
    You could try adding to that like this:
    Code:
    £,£:€,€:ä,ä
    .

    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
    Sep 2005
    Posts
    460
    Plugin Contributions
    0

    Default Re: Translating Sub-Total for emails

    Quote Originally Posted by DrByte
    You might be able to trick this converter into working for you:

    Admin->Configuration->Email Options:
    "Convert currencies for Text emails"

    The default setting is: £,£:€,€
    You could try adding to that like this:
    Code:
    £,£:€,€:ä,ä
    It looks like it works! :) I didn't realise from admin by myself that this could help...
    I will add ö as well in the list...

    £,£:€,€:ä,ä:ö,ö
    I may be blond but at least I found Zen.

  4. #4
    Join Date
    Mar 2004
    Location
    Finland
    Posts
    488
    Plugin Contributions
    3

    Default Re: Translating Sub-Total for emails

    For some reason I have not come across this (and I've been using zencart since 1.1.4) ...

    Ä,ä,Ö and ö work fine both on the screen and on emails ... you might want to check the character encoding... when I save zencart pages in UTF-8 it might show the characters wrong...
    Working with Zen Cart since 2003 :: www.prr.fi
    Author of the original Finnish language pack for Zen Cart since 2004

 

 

Similar Threads

  1. v153 Custom Sub-Total for Invoice
    By dharrison in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 19 Jul 2016, 08:12 PM
  2. Can't control wording for sub-total in admin
    By DavidGGG in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 May 2011, 05:19 PM

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