Plural sytax is not exhausitive #753
dilame
started this conversation in
DX improvements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In russian, we have 3 forms of plurals. And there is no way to describe it with
typesafe-i18n
.We can describe it as
'one' | 'few' | 'many'
.None of overloads enumerated in docs fits russian usecase. The only way i found is use full syntax with random strings
'У меня есть {0} {{empty|яблоко|empty|яблока|яблок|empty}}'
I think we need some syntax to selectively describe only needed forms. It could look something like this
Beta Was this translation helpful? Give feedback.
All reactions