Created
October 12, 2018 14:39
-
-
Save olgusirman/2b0aecd1c3a519f9bc83d78deac4e8a3 to your computer and use it in GitHub Desktop.
Sample generate strings from Localizable file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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