Invoice in Language of the customer

Before you ask about IDnR Addon see the VirtueMart - Invoice, Delivery Note and Receipt Addon
nk111
Phoca Member
Phoca Member
Posts: 14
Joined: 05 Aug 2008, 14:11

Invoice in Language of the customer

Post by nk111 »

Hi,

I would like to create the invoice in the language that the customer used when he placed the order. That would not be complicated. I would just have to add the correct lang parameter to the pdf url in ps_order_delivery.php. The problem is to know which lang code to use. Is the current frontend language stored in any of the virtuemart tables? Does anyone has a solution for this?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Invoice in Language of the customer

Post by Jan »

Hi, in fact no idea there, as I don't know the VM so detailed, but I think, such information should be stored in Joomla! maybe - but really don't know.
If you find Phoca extensions useful, please support the project
Post Reply