[Xerte-dev] Export Code
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Mon Apr 30 09:02:53 BST 2012
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 support
*/
mkdir($dir_path . 'languages');
chmod($dir_path . 'languages', 0777);
array_push($delete_folder_array, $dir_path . 'languages');
copy($xerte_toolkits_site->root_file_path . "languages/language-config.xml", $dir_path . "languages/language-config.xml");
array_push($delete_file_array, $dir_path . "languages/language-config.xml");
copy($xerte_toolkits_site->root_file_path . "languages/engine_en-GB.xml", $dir_path . "languages/engine_en-GB.xml");
array_push($delete_file_array, $dir_path . "languages/engine_en-GB.xml");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20120430/c2c3df2f/attachment.html>
More information about the Xerte-dev
mailing list