(Swift only)
Easily add entries to Localizable.strings file by copy/pasting code with new NSLocalizedStrings
Usage:
-
Copy your code containing
NSLocalizedString(_:comment:)function calls -
Pipe it through the
pbgenstrings.shscript:$ pbpaste | ./pbgenstrings.sh | pbcopy -
Paste contents of clipboard into your
Localizable.stringsfile