-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.24.0-beta-4 incorrectly handles plurals with "
character; displays as \"
on iOS and doesn't display on Android.
#710
Comments
Hm, i'm not sure in android plurals, because i'm try two variants in native:
And:
Call inside activity:
For all variants i'm get string without quotes. start of my research on android: https://developer.android.com/guide/topics/resources/string-resource And if i'm add mirror in plurals of moko-resource it will be fine for android, but other platform has incorrect mirror for quot. Thanks for info |
will be fixed in 0.24.0-beta-5 |
Given this plural:
iOS
The iOS plural generation in
Localizable.stringsdict
generates as:The quotes in those
<string>
elements should not be escaped. This is causing the string to show\"
instead of just"
:Note that replacing the
"
with"
does not make a difference - the generated output is still\"
.Android
For Android, the generated content in
multiplatform_plurals.xml
looks correct:However, when using
MR.plurals.search__results_for.format(0, 0, "Example")
, the resulting string drops the quotes entirely:Is this an Android issue somewhere inside
PluralFormattedStringDesc
?The text was updated successfully, but these errors were encountered: