-
Notifications
You must be signed in to change notification settings - Fork 140
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
Singular resources #6
Comments
I suppose it depends on how opinionated you want to be. |
we definitely have to be flexible, but I think we can do magic, and retain the flexibility |
Makes sense to me. |
You mean that Also, presumably people will immediately start wanting to use different languages. Words ending in 's' will look the same singular and plural in French, also Spanish apparently. |
that's the idea, it would basically just expand at the API level, so something like |
It's a very good thought, but you might be wise to expose singularResource anyway, to get round the awkward cases. |
yup, that's the plan |
I still like the idea of using magic, but I've just sent a pull request with a different way of doing it. I'm sure I must have missed something, otherwise it's too easy. |
I guess nobody is working on this anymore? |
we could use
lingo.en.isSingular()
to detect and auto-magically support thisThe text was updated successfully, but these errors were encountered: