FormattedPlural
#177
-
How about support this
or something like? I have a problem where I take the values of the plural options from the database. |
Beta Was this translation helpful? Give feedback.
Answered by
dejurin
Feb 1, 2023
Replies: 1 comment 1 reply
-
I get it, I apologize. For the new topic. {"msg": "Ви маєте {count, plural, =0 {{zero}} =1 {{one}} other {{other}}} повідомлень."} t('msg', { num: 2, zero: 'нуль', one: 'одне', other: 'багато' }) // Ви маєте багато повідомлень. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dejurin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get it, I apologize. For the new topic.
I didn't think it would work.
Maybe I should add this as an example.
// Ви маєте багато повідомлень.