-
Notifications
You must be signed in to change notification settings - Fork 55
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
Some plural forms seam to be hardcoded #1983
Comments
Thanks, I've probably missed a pluralize() or two around the place. |
The app should know how to properly pluralize things via https://github.com/svenfuchs/rails-i18n. Perhaps I'm not calling things right. |
@XioR112 could you give me an example of how you'd pluralize, say, Models? Like, "1 model", "10 models", "100 models"? Rails has a way to represent these things (including many-clause pluralizations like one/few/many/other), so if you can pop me an example, I'll make sure it works then add it to the translation instructions. |
singular form - model singular form - twórca singular form - biblioteka |
Fantastic, thanks, I will have a poke around with the translation files and see if can make that work. |
I wanted to clarify we use dopełniacz with not only 12, 13 and 14 but every number ending with them. |
OK, I think I've resolved this in #2074. There are new keys added to the model names for I've added the pluralisations I was sure about, but it will be best to check them over. @Andreaj42 and @ToasterUwU, might you be able to check the translations for your preferred languages? Search for "one" and "other" in the translation.io interface to check the new stuff. |
I checked and they aren't available in translation.io interface. |
I forgot to add them to English; oops. I'd do that, then hopefully they will turn up. I'll post back when I've done that. |
OK, done a sync, and |
Right, I found translation/rails#40 which says that I should have all the pluralization forms in the English file. So, I'll add those. |
OK, all models now have keys up on translation.io for all known plural forms. That means there's some redundancy, all languages get all of them, but at least it's all possible. Without changing to gettext translations, that's the best we can do. |
Some text uses singular form + s witch doesn't work in other languages.
For example:
The text was updated successfully, but these errors were encountered: