This php class will extract label/description/value of xml elements from an xml file, Generate and replace those values with automatically generated key and also create a .ini file. Created for automating translation file generation for Joomla
- Copy your xml file (with static text) into the folder where convert.php is located
- open convert.php file to edit the following line
$conv = new JoomlaXMLtoINI('mod_jusertube.xml','MOD_JUSERTUBE_');
- change the parameters to match your filename (first one) and prefix (second one)
- run the script (convert.php)