This script converts Excel files containing translation data into a PHP serialized array. It is designed to simplify the process of converting translation data stored in Excel to a format compatible with PHP.
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the script:
python app.py
-
The script will prompt you to enter the path to your Excel file. The serialized PHP array will be printed to the console.
Python 3.x, pandas
Feel free to contribute to the project by opening issues or submitting pull requests.
Follow these steps to convert an Excel file to a PHP serialized array: