Compatible XF 2.x versions 2.0 As I worked on porting add-ons from xF1 to xF2, I became bored of needing to recreate everything.
So I created a quick perl script which parses a xF1 XML product file and creates the phrases text files into the _output directory you provide. Phrases related to option/cron entry/permission/admin navigation are not imported as they are automatically created when you do create those in xF2.
This is very raw, not optimized, not integrated to a CLI, but feel free to propose code modifications.
Content locked
This content has been locked. Please login or register in order to unlock it.
Call the script as follows: perl your_script_namepath_to_xml_filepath_to_phrases_output_directory
Don't forget to export your add-ons data thanks to xf-dev:export CLI command prior to using the script and use the xf-dev import CLI command afterwards to get data back.