locheck
locheck copied to clipboard
Duplicate keys or values in base language file strings.xml or localization .strings are not reported will be good to have
Can you give an example of some strings that would have this problem?
Just here to say +1 for this.
I'm just fixing a badly maintained localization file set and there are keys and values that are just outright duplicated:
"thing.key" = "hello there"
"thing.key" = "hello there"
But at the same time, you'd probably also like to detect:
"thing.key" = "hello there"
"thing.key" = "goodbye there"
i.e. a duplicated key regardless of values being different
Thanks for the example! I opened a PR with an implementation. It'll be in the next release.