moko-resources icon indicating copy to clipboard operation
moko-resources copied to clipboard

Plurals not working on iOS with the & (ampersand) character

Open cvb941 opened this issue 2 years ago • 1 comments

Having and ampersand character (even the escaped & sequence contains an ampersand) in plural strings causes the plural on iOS to resolve to its ID.

cvb941 avatar Dec 19 '22 15:12 cvb941

@Alex009 This is a serious issue. I'm not sure it's limited to plurals. What happens is that the & gets changed to \& in the iOS stringdict file, which causes errors and means that none of the string lookups work anymore in that file. So we fall back to showing string keys for all of the strings.

Intentional XML escapes seem to break all of the strings with the current logic. Or at least all strings later in the file than the affected string.

colintheshots-meetup avatar Oct 19 '23 15:10 colintheshots-meetup