1 reply [Last post]
fh
fh's picture
Offline
Joined: 08/13/2010
Juice: 4
Was this information Helpful?

Hi,

I have problems translating the subject for the customer invoice that is sent out by email.

The subject is default set to "Your Order at [store-name]".

I have translated this string to another language using the translation interface but I can't get it to work. When I buy a product (using the translated language) it always uses the English translation in the email that is sent out.

It seems like Ubercart doesn't use this line (line 78 in uc_cart.ca.inc)

'subject' => t('Your Order at [store-name]'),

Am I looking in the wrong place?

Thanks.

xibun's picture
Offline
Joined: 05/13/2009
Juice: 104
Re: Problems translating the customer invoice subject

I think I found the location.. but I haven't yet found a solution...
-> look here: /admin/store/ca/uc_checkout_customer_notification/edit/actions
(the email subject is set in conditional actions)

EDIT: if you don't use the conditional action, then the translation works as you originally expected. but you cannot use a different template in that case...