David Cordero

Strings validation with Rubustrings

Published on 29 Sep 2014

Rubustrings is a format validator for Localizable.string files.

How to use Rubustrings

It only needs the files to validate as arguments

./rubustrings Localizable.strings

Validators

Currently Rubustrings validates:

Example

dcordero@silver:~$ ./rubustrings Localizable.strings
Processing file: "Localizable.strings"

✘ Beginning mismatch: " Tubasa" = "Tubasa";
✘ Invalid format: "bad format" = "because of a missing quote;
✘ Number of variables mismatch: "Web %@" = "Web";

✘ Some errors detected
dcordero@silver:~$ ./rubustrings Localizable.strings
Processing file: "Localizable.strings"
✓ Strings file validated succesfully

Future validators to include: