Skip to content

Instantly share code, notes, and snippets.

@antongaenko
Last active August 29, 2015 14:19
Show Gist options
  • Save antongaenko/f6a8fe566c8101ef0912 to your computer and use it in GitHub Desktop.
Save antongaenko/f6a8fe566c8101ef0912 to your computer and use it in GitHub Desktop.
// make .strings from all NSLocalizedString occuerences
find ./ -name "*.m" -print0 | xargs -0 genstrings
// Count words in a file for localization cost estimate
cat Localizable.strings | grep ';$' | awk -F= '{ print $2 }' | wc -w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment