# 在ActivityPub本地化字符串中处理复数形式

**URL:** https://meta.discourse.org/t/handling-plural-forms-in-activity-pub-localization-strings/363687
**Category:** Translations
**Tags:** activitypub
**Created:** [2025年四月27日 20:14 UTC](https://meta.discourse.org/t/handling-plural-forms-in-activity-pub-localization-strings/363687 "2025-04-27T20:14:32Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2025年十一月4日 00:15 UTC](https://meta.discourse.org/t/handling-plural-forms-in-activity-pub-localization-strings/363687/13 "2025-11-04T00:15:52Z")

</div>

> [@Jagster](#):
>
> 像 `1 篇帖子` 这样的东西总是注定要被英语开发者使用，因为他们太懒了，不愿意使用人类风格

这并非出于懒惰。使用占位符表示数字非常重要。正如我上面解释的那样，有些语言中，你也会说“21 篇帖子”，就像你说“1 篇帖子”一样。如果英文文本使用的是“one”而不是 `%{count}`，那么翻译者很容易将其翻译出来，然后数字就不会被实际计数替换，结果就会变成“one post”，而实际计数是 21。  
所以，使用数字是有原因的。另请参阅：[Always use %{count} variable when translating pluralized strings](https://meta.discourse.org/t/always-use-count-variable-when-translating-pluralized-strings/83969)

顺便说一句，这对德语也很有帮助，因为它避免了[这样的问题](https://meta.discourse.org/t/fehler-in-der-deutschen-ubersetzung-hier-melden/47320/81?u=moin)。

---

_[View the full topic](https://meta.discourse.org/t/handling-plural-forms-in-activity-pub-localization-strings/363687)._
