Japanese plurals

Mark Davis ☕️ mark at macchiato.com
Wed Dec 1 17:36:09 CST 2021


The CLDR plural rules are intended for any instance where the change in a
number requires a change in a message; in some languages changes are
required in verbs, or in references. So it appears that this is an example
of where Japanese rules may require changes.

The suggestion that Markus is recommending is a good workaround for the
issue that you have, but we should consider whether to change the plural
rules. So could you please file your request as a CLDR ticket, at
https://cldr.unicode.org/index/bug-reports#h.o5tktlfjc4iw ?

Mark


On Wed, Dec 1, 2021 at 3:23 PM Markus Scherer via CLDR-Users <
cldr-users at corp.unicode.org> wrote:

> On Wed, Dec 1, 2021 at 11:22 AM Edwin Hoogerbeets via CLDR-Users <
> cldr-users at corp.unicode.org> wrote:
>
>> Our Japanese translators are asking me how to translate the following
>> string resource:
>>
>> {folderCount, plural, one {Remove yourself from this shared folder.}
>> other {Remove yourself from these shared folders.}}
>>
>> Our translation management system only allows for the "other" case in
>> Japanese because it follows the CLDR rules as documented in
>> common/supplemental/plurals.xml. The difficult thing is that the two
>> English strings should be translated differently. Counters may not have
>> plurals in Japanese, but demonstratives like "this", "these", "that" and
>> "those" do.
>>
>> What the translators would like is to do a translation like this:
>>
>> {folderCount, plural, one {*この*共有フォルダから自分を削除します。} other {*これらの*
>> 共有フォルダから自分を削除します。}}
>>
>> (Bold added by me to highlight the translations of "this" and "these".)
>>
> There is a better way to do this.
> The "one" case triggers for different sets of numbers depending on the
> language, and usually not just for exactly one item. Even if you changed
> the plural rules for Japanese, the message would not make sense for, say,
> Russian, where "one" is used for 1, 21, 31, 41, ...
>
> What you want is an "exactly numerically 1" case, and if you are using ICU
> MessageFormat, you can do that with
>
> {folderCount, plural, *=1* {Remove yourself from this shared folder.}
> other {Remove yourself from these shared folders.}}
>
>
> Best regards,
> markus
> _______________________________________________
> CLDR-Users mailing list
> CLDR-Users at corp.unicode.org
> https://corp.unicode.org/mailman/listinfo/cldr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://corp.unicode.org/pipermail/cldr-users/attachments/20211201/4b629782/attachment.htm>


More information about the CLDR-Users mailing list