-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Plural forms for a languages like ZH, KO, or JA #34
Comments
I don't know exactly what you want to achieve... |
Maybe something like in the last example... |
P.S. If possible, I'll share projectid later. |
hmm... |
This is kinda follow-up for this issue #30
Other languages like FR/IT/etc looks fine. |
ok, can you try to save or rename the keys (in your reference language) in locize ui like this: {
"Wat|Got %{count} bonus|#|Wat|Got %{count} bonuses_plural": "Wat|Got %{count} bonuses",
"Wat|Got %{count} bonus|#|Wat|Got %{count} bonuses": "Wat|Got %{count} bonus"
} i.e. in zh {
"Wat|Got %{count} bonus|#|Wat|Got %{count} bonuses_plural": "Wat | Got%{count}奖金",
"Wat|Got %{count} bonus|#|Wat|Got %{count} bonuses": "Wat | Got%{count}奖金"
} You need to have both keys. after
and this in zh:
|
So... "Add plural(s)" option from Locize is not working as expected? (8MB gif below, sorry) @adrai your idea means to not use plurals but something special, correct? Also, this may (or will?) affect the way we sync data between Locize and local development. When plural keys collected locally, they synced exactly as shown on the attached gif. |
If you use locize sync with po format the keys should be "generated" in locize automatically and your po files should look correct. To summarize: I would suggest to:
|
Let say we have these strings we need to translate to a language without plural form. For Example Korean.
When
locize download --format po
is called, we've got this for KO languageWhich obviously do not allow translation to be found.
Is it possible to use
_plural
for strings like these anyway?Not sure this is the correct but cannot find a better solution.
The text was updated successfully, but these errors were encountered: