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

Are there any plans to implement pluralization like rails? #65

Open
Preen opened this issue Oct 27, 2023 · 0 comments
Open

Are there any plans to implement pluralization like rails? #65

Preen opened this issue Oct 27, 2023 · 0 comments

Comments

@Preen
Copy link

Preen commented Oct 27, 2023

Such as:

# config/locales/en.yml

en:
  notification:
    one: You have 1 notification
    other: You have %{count} notifications
#app/views/notifications/index.html.erb

<%= t("notification", count: current_user.notifications.count) %>

From watching the tests and doing some tests myself I cant see that, this library is doing like the the above?

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

1 participant