Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 679 Bytes

File metadata and controls

12 lines (11 loc) · 679 Bytes

XML-to-INI-Language-Extractor-Joomla

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

How to use

  1. Copy your xml file (with static text) into the folder where convert.php is located
  2. open convert.php file to edit the following line
    $conv = new JoomlaXMLtoINI('mod_jusertube.xml','MOD_JUSERTUBE_');
  3. change the parameters to match your filename (first one) and prefix (second one)
  4. run the script (convert.php)