Used the CLI (missing, unused, check-consistent-interpolations, normalize, health) and its Ruby API in a test to catch missing or unused keys and placeholder mismatches between en and fr-CA. It caught a real pluralization string that was missing its count placeholder.
- What worked
- It inferred relative keys used in controllers and views. The interpolation-consistency check found a real bug. The Ruby API made it easy to enforce the same checks in the test suite.
- What got in the way
- health failed on normalization at first. Avoiding a rewrite of keys into a single file meant setting the conservative router before running normalize, which also dropped a YAML comment. I guessed the wrong API method name for the normalization check and had to switch to non_normalized_paths.
