<div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif">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.</div><div class="gmail_default" style="font-family:times new roman,serif"><br></div><div class="gmail_default" style="font-family:times new roman,serif">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 <a href="https://cldr.unicode.org/index/bug-reports#h.o5tktlfjc4iw">https://cldr.unicode.org/index/bug-reports#h.o5tktlfjc4iw</a> ?</div><div class="gmail_default" style="font-family:times new roman,serif"> </div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font face="'times new roman', serif"><div style="background-color:transparent;margin-top:0px;margin-left:0px;margin-bottom:0px;margin-right:0px"><div></div></div><div style="background-color:transparent;margin-top:0px;margin-left:0px;margin-bottom:0px;margin-right:0px">Mark</div></font><div><div><font face="'times new roman', serif"><i><span style="font-style:normal"><i></i></span><i></i></i></font></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 1, 2021 at 3:23 PM Markus Scherer via CLDR-Users <<a href="mailto:cldr-users@corp.unicode.org">cldr-users@corp.unicode.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Wed, Dec 1, 2021 at 11:22 AM Edwin Hoogerbeets via CLDR-Users <<a href="mailto:cldr-users@corp.unicode.org" target="_blank">cldr-users@corp.unicode.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  

    
  
  <div>
    <p>Our Japanese translators are asking me how to translate the
      following string resource:<br></p>
    <p>{folderCount, plural, one {Remove yourself from this shared
      folder.} other {Remove yourself from these shared folders.}}</p>
    <p>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.<br>
    </p>
    <p>What the translators would like is to do a translation like this:<br>
    </p>
    <p>{folderCount, plural, one {<b>この</b>共有フォルダから自分を削除します。} other {<b>これらの</b>共有フォルダから自分を削除します。}}</p>
    <p>(Bold added by me to highlight the translations of "this" and
      "these".)<br></p></div></blockquote><div>There is a better way to do this.</div><div>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, ...</div><div><br></div><div>What you want is an "exactly numerically 1" case, and if you are using ICU MessageFormat, you can do that with</div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_quote"><div>{folderCount, plural, <b style="background-color:rgb(255,255,0)">=1</b> {Remove yourself from this shared folder.} other {Remove yourself from these shared folders.}}</div></div></blockquote><div class="gmail_quote"><div><br></div><div>Best regards,</div><div>markus</div></div></div>
_______________________________________________<br>
CLDR-Users mailing list<br>
<a href="mailto:CLDR-Users@corp.unicode.org" target="_blank">CLDR-Users@corp.unicode.org</a><br>
<a href="https://corp.unicode.org/mailman/listinfo/cldr-users" rel="noreferrer" target="_blank">https://corp.unicode.org/mailman/listinfo/cldr-users</a><br>
</blockquote></div>