Skip to content

Instantly share code, notes, and snippets.

@olgusirman
Created October 12, 2018 14:39
Show Gist options
  • Save olgusirman/2b0aecd1c3a519f9bc83d78deac4e8a3 to your computer and use it in GitHub Desktop.
Save olgusirman/2b0aecd1c3a519f9bc83d78deac4e8a3 to your computer and use it in GitHub Desktop.
Sample generate strings from Localizable file
# generate strings for all swift files (even in nested directories)
$ find . -name \*.swift | xargs genstrings -o .
# See results
$ cat Localizable.strings
/* Test */
"This is the test message." = "This is the test message.";
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment