Skip to content

Instantly share code, notes, and snippets.

@vinnybad
Last active November 6, 2015 03:09
Show Gist options
  • Save vinnybad/9436d1186b23e3cdcf2f to your computer and use it in GitHub Desktop.
Save vinnybad/9436d1186b23e3cdcf2f to your computer and use it in GitHub Desktop.
Generate .strings files for a particular language (overwrites existing strings file)
#!/bin/bash
# find all .m files and pump it through genstrings, outputting it to en.lproj/Localizable.strings
find . -name '*.m' | xargs genstrings -o en.lproj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment