-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Problem
we use xcstrings catalogues in several packages, and most of those offer translations for multiple languages. Xcode already is able to determine the "completeness level" of each language within a catalogue (as the percentage of the language's translated keys relative to the base localization).
but there currently is no way to check this in an automated way, and maybe even enforce a certain amount of coverage.
Solution
we should consider creating a github action that compiles a swift package, and then calculates, for each language supported by the package's xcstrings catalogue(s), the completeness level, and fails if this is under a certain percentage.
Additional context
the downside here would be that it might inhibit addition of new languages or new features, bc ppl probably don't speak all of the supported languages and if there's too high of a burden to merge a PR, they might take a shortcut somewhere.
in contrast to the codecov check, this is not necessarily something that can be fixed trivially (bc the result would likely be a sloppy translation, in which case it might be preferable to just use english as a fallback...)
Code of Conduct
- I agree to follow this project's Code of Conduct and Contributing Guidelines