From the compose resources docs: > The supporte...
# compose
s
From the compose resources docs:
The supported variants are
zero
,
one
,
two
,
few
,
many
, and
other
. Note that not all variants are even considered for every language: for example,
zero
is ignored for English because it is the same as any other plural except 1. Rely on a language specialist to know what distinctions the language actually insists upon.
(kotlinlang.org/docs/multiplatform/compose-multiplatform-resources…#…) Why is that the case? What if I want to display
No results
instead of
0 results
?
j
You can do that yourself by switching strings.
s
I see, thanks. Didn't know about these rules.