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

Can you do translations with numbers? #40

Open
cyphix333 opened this issue Dec 20, 2016 · 2 comments
Open

Can you do translations with numbers? #40

cyphix333 opened this issue Dec 20, 2016 · 2 comments

Comments

@cyphix333
Copy link

Just wondering what if you wanted to do translation on a string that has a number in it?

For example:

There (is,are) {n} cat(s)

So what it would do is find the translation string to translate the words, choose the correct term between is and are, show the locale specific number based on what number you passed in (somehow) and also display either the non-plural or plural version of the word cat.

...or is this outside this library's scope?

Thanks!

@eligrey
Copy link
Owner

eligrey commented Jun 7, 2021

This is outside of scope for this particular library, though I may make a new more modern library (perhaps even backwards compatible with this one if people are interested) in the future. 👍

@cyphix333
Copy link
Author

It's been some time since I posted this, but sure, would be interested in something like that :)

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