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 script doesn't automatically create pluralized strings #13061

Open
turt2live opened this issue Apr 7, 2020 · 4 comments
Open

i18n script doesn't automatically create pluralized strings #13061

turt2live opened this issue Apr 7, 2020 · 4 comments

Comments

@turt2live
Copy link
Member

It just creates the "other" string. It should probably create the singular too.

@dbkr
Copy link
Member

dbkr commented Apr 8, 2020

I think this might require teaching the script how to write English though? It could probably error out until you add the other forms though.

@turt2live
Copy link
Member Author

We already assume it is English? It only ever writes to en_EN.json

@turt2live
Copy link
Member Author

oh, but it won't know what the singular form is... Maybe we can make _t() take singular forms too?

@t3chguy
Copy link
Member

t3chguy commented Apr 8, 2020

Right, but we'd have to teach it to guess which word to pluralise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants