Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pluralization support #18

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add pluralization support #18

wants to merge 3 commits into from

Conversation

bakura10
Copy link

@bakura10 bakura10 commented Jul 25, 2023

Hi !

I was looking for a minimal i18n solution and this seemed perfect, however it was lacking a somewhat essential feature: pluralization. It appears browser support for plural rules is now very good.

The syntax used is the one that Shopify uses for Liquid, and that provides a good balance of flexibility.

The bundle size increased from 298 to 348 bytes, which seems to be acceptable considering the addition :)

Let me know if you have any comment !

This should be backward compatible as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant