thedream Posted March 9, 2005 Share Posted March 9, 2005 Hi there. I am trying to localize the invoice adding fields like the date of orders, etc, but I don't know how to get back the field like "TABLE_HEADING_DATE_PURCHASED", where it's present in the orders.php file. I have tried the include() function and require(), but it seems to be in conflict with a database query. How do I link this? :'( osCommerce 2.2 MS2 in 6 languages TVA Intracomm Numbers of visitors online Who's online Enhancement .... Link to comment Share on other sites More sharing options...
thedream Posted March 9, 2005 Author Share Posted March 9, 2005 I have found the solution: to get back the value of a field from the localised version, try this: For example, I have ad the following at the beginning of the file /admin/invoice.php: require(DIR_WS_LANGUAGES . '/' . $language . '/' . 'orders.php'); to get the field " TABLE_HEADING_DATE_PURCHASED " translated. osCommerce 2.2 MS2 in 6 languages TVA Intracomm Numbers of visitors online Who's online Enhancement .... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.