-
Notifications
You must be signed in to change notification settings - Fork 274
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
goi18n merge creates plural versions only #254
Comments
Yes. This makes it clear to the translator what they need to translate and in which plural forms for that language. |
This is really weird, to be honest. Is there a way to change this behaviour? |
There is not a way to change this behavior. If you could change this behavior, what would you want to happen instead? |
For the "one" field in |
The reason that I originally implemented it this way was because it wasn't clear to me that |
PR Done. Please review @nicksnyder |
Running
goi18n merge active.en.toml translate.de.toml
on https://github.com/nicksnyder/go-i18n/blob/main/v2/example/active.en.toml
inserts everything in plural. See below for "one" and "other" both are plural versions...
[MyUnreadEmails]
description = "The number of unread emails I have"
hash = "sha1-9bed04915e80e0ac6b2304a03710e9d6b5749b47"
one = "I have {{.PluralCount}} unread emails"
other = "I have {{.PluralCount}} unread emails"
is this intended?
The text was updated successfully, but these errors were encountered: