[Xerte-dev] Re: Export Code

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Apr 30 12:00:07 BST 2012


$_SESSION['default_language']

This would be the string 'en_GB', right?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of David Goodwin
Sent: 30 April 2012 10:43
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Export Code


On 30 Apr 2012, at 09:02, Julian Tenney wrote:


Hi,

I re-added the export code I originally added in rev 60 back into export.php. How to know which language to export? Also, the way the the engine handles languages is to look in language-config.php. How to know what is indicated in there?


language-config.php ?


You could use $_SESSION['default_language'] - although perhaps this variable needs renaming.

thanks,
David.


Pale Purple Ltd.  (Company No: 5580814)
'Business Web Application Development and Training in PHP'

http://www.palepurple.co.uk
Office: 0845 0046746     Mobile: 07792380669

Follow us on Twitter: @PalePurpleLtd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20120430/bb229d18/attachment.html>


More information about the Xerte-dev mailing list