Asana / locheck

Validate iOS, Android, and Mac localizations. Find errors in .strings, .stringsdict, and strings.xml files.
MIT License
96 stars 10 forks source link

Catch implicit positions in .strings files #48

Closed stevelandeyasana closed 1 year ago

stevelandeyasana commented 1 year ago

This is like #47 but for .strings files.

There is additional complexity here: we do not assume all strings appear in the base, so if we find that a string key (i.e. the base translation) is missing positions, we catch those errors while evaluating translation files, and say they appear on line zero.

Also adds handy suggestions for what to write instead.