For plurals, we create different versions of a key followed by an underscore and the plural/singular version it represents.
Multiple 'Counts'
Has not been used yet, but the documentation can be read here.
How to use them
In our JSON file:
Code Block | ||
---|---|---|
| ||
"status_known_zero": "We don't know about any Host LMS instances that are needed for {{consortium_name}}.", "status_known_one": "We know about {{count}} Host LMS instance that is needed for {{consortium_name}}.", "status_known_other": "We know about {{count}} Host LMS instances that are needed for {{consortium_name}}.", |
...
Code Block | ||
---|---|---|
| ||
{ "key_zero": "zero", "key_one": "singular", "key_two": "two", "key_few": "few", "key_many": "many", "key_other": "other" } |
Multiple 'Counts'
...