Perl scripts that do the following:
- Translate all the JSON keys in a json file into a specified language, using Google Translate
- Convert JSON to XLSX
- Convert it back to JSON
To use:
- Install Perl
- Open a new shell window
- Run
cpan
to bootstrap CPAN and agree to all defaults - Run
cpan install WWW::Google::Translate Spreadsheet::ParseXLSX Excel::Writer::XLSX
- Edit
gtranslate.pl
to include a Google Translate API key
Run each script with no args to get a usage description