Forums / Addon Language Packs / Translating Sub-Total for emails

Translating Sub-Total for emails

Locked
Results 1 to 4 of 4
This thread is locked. New replies are disabled.
31 Aug 2006, 08:54
#1
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

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
31 Aug 2006, 09:01
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

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:
£,£:€,€:ä,ä
31 Aug 2006, 14:19
#3
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Re: Translating Sub-Total for emails

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:
£,£:€,€:ä,ä


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

£,£:€,€:ä,ä:ö,ö
06 Nov 2006, 08:27
#4
pasi avatar

pasi

Zen Follower

Join Date:
Mar 2004
Posts:
435
Plugin Contributions:
1

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