Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Wrong language on orderdate in invoice


Recommended Posts



I have a problem that I just cant solve and cant find any anwers to. Im using the contribution "Batch print center" that allows me to print out several invoices with one klick - in PDF-format.


Anyway. My site is in Swedish but the orderdate shows up in english. I have set my local to sweden in english.php and all the dates in the store shows up right, but not in my invoice.. It says 27 January - 2005. I want the monthname to be in swedish instead - not english!


Here is the code that writes out the orderdate om my invoice:

if ($HTTP_POST_VARS['show_order_date']) {


$pdf->ezText("<b>" . TEXT_ORDER_DATE . " </b>" . date(TEXT_ORDER_FORMAT, strtotime($order->info['date_purchased'])) ."\n\n\n",SUB_HEADING_FONT_SIZE,array('justification'=>'right'));




Please help me out :'(

So what?! Who care in a hundred years anyway?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...