/Strings-Localization

Export Google spreadsheets as Cocoa .strings files

Primary LanguageJavaScript

Strings Localization

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.

Step 1

Make spreadsheet formatted like this one.

Step 2

Export it to Cocoa .strings files:

  1. Copy the localize-strings.py to your project folder.
  2. Edit localize-strings.py, setting SHEET_ID to the ID of your Google Spreadsheet, and SHEET_NAME to the name of the sheet used in that Google Spreadsheet.
  3. Run localize-strings.py, optionally specifying an output directory as the first argument.
  4. Done.

More Info

To see more info about invoking the app, go here.