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