Skip to content

Recipe count internationalization issue #70

@nicmart-dev

Description

@nicmart-dev

I think this works for the limited languages we support (which support simple pluralization rules) and the fact 0 is not really an expected value (ie. you'd say 0 minutes in English, but 0 minute in French). If we were to support more languages or add more features, we likely may want to use a better internationalization library like i18next (if you're curious, see how it handles pluralization here https://www.i18next.com/translation-function/plurals),
which development teams use at my company.

Originally posted by @nicmart-dev in #41 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions