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

I18n.pluralize should have error catching mechanism like I18n.translate #11

Closed
dlee opened this issue Feb 24, 2010 · 1 comment
Closed

Comments

@dlee
Copy link

dlee commented Feb 24, 2010

Right now, I have to use I18n.pluralize to do any transations involving count. I18n.pluralize, however does not have the try/catch safe-guard that I18n.translate has.

@fnando
Copy link
Owner

fnando commented Feb 25, 2010

You should now use the I18n.t("scope", {count: 10}) for pluralization. Closing this issue! ;)

This issue was closed.
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

No branches or pull requests

2 participants