verify-string-files
verify-string-files copied to clipboard
What is it?
verify-string-files is a tiny little Mac command-line tool that verifies
localized .strings files against the given "master" .strings file (typically
the one in Base.lproj or your development language).
The tool will output problems (like missing strings in your localizations) as errors, warnings or notes that Xcode will pick up and display.
Combined with a custom build step in your Xcode project, it can be used to automatically give compile-time checked keys for your localised strings.
Examples
-warning-level error

-warning-level warning

License
verify-string-files is licensed under three-clause BSD. The license document can be
found here.
Building
- Clone verify-string-files using
$ git clone git://github.com/iKenndac/verify-string-files.git. - Open the project and build away!
Usage
$ verify-string-files -master <strings file path> [-warning-level <error | warning | note>]
-
-masterThe path to a valid .strings file. Should be localized (that is, inside an .lproj folder and what's considered the "base" strings file for the project. -
-warning-levelThe warning level to use:error,warningornote. Defaults toerror.