A simple script that makes it easy to export a well-formatted Google spreadsheet into localized strings files for use in Cocoa and Cocoa Touch applications. Adapted from Max Vilimpoc's localization-spreadsheet-jsonify.
Make spreadsheet formatted like this one.
Export it to Cocoa .strings files:
- Copy the localize-strings.py to your project folder.
- Edit localize-strings.py, setting
SHEET_ID
to the ID of your Google Spreadsheet, andSHEET_NAME
to the name of the sheet used in that Google Spreadsheet. - Run localize-strings.py, optionally specifying an output directory as the first argument.
- Done.
To see more info about invoking the app, go here.