# 在发现路线的标题中翻译 %{filter}

**URL:** <https://meta.discourse.org/t/translating-filter-in-headings-for-discovery-routes/363520>\
**Category:** Translations\
**Created:** [2025年四月25日 22:18 UTC](https://meta.discourse.org/t/translating-filter-in-headings-for-discovery-routes/363520 "2025-04-25T22:18:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<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年四月25日 22:18 UTC](https://meta.discourse.org/t/translating-filter-in-headings-for-discovery-routes/363520/1 "2025-04-25T22:18:02Z")

</div>

我很难将以下文本翻译成德语。在德语中，“hot”或“unread”等形容词会根据上下文改变形式，因此静态的 `%{filter}` 在语法上不起作用。

其他语言也受到影响吗？[@translators](https://meta.discourse.org/groups/translators)，你们在你们的语言中是如何解决这个问题的？

我有一个想法，就是在英文中目前缺失“all”的地方添加“all”——例如：“all %{filter} topics in %{category}”。但到处添加“all”可能有点多余。

下表显示了德语中形容词词尾的变化：

| %{filter} | “所有 %{filter} 主题” | “%{category} 中的 %{filter} 主题” |
| --- | --- | --- |
| latest | Alle aktuelle **n** Themen | Aktuelle Themen in %{category} |
| top | Alle angesagte **n** Themen | Angesagte Themen in %{category} |
| hot | Alle heiße **n** Themen | Heiße Themen in %{category} |
| new | Alle neue **n** Themen | Neue Themen in %{category} |
| unread | Alle ungelesene **n** Themen | Ungelesene Themen in %{category} |
| unseen | Alle ungesehene **n** Themen | Ungesehene Themen in %{category} |

我还想知道 `category_tag:` 中的 `%{tags}` 是否总是指多个标签。在上面的行中，`%{tag}` 用于单个标签，`%{tags}` 用于多个标签，但我没有找到类别和单个标签的版本。

> **供参考的字符串**
>
> ```plaintext
> discovery:
> headings:
> all:
> default: "All %{filter} topics"
> posted: "All topics you’ve posted in"
> bookmarks: "All topics you’ve bookmarked"
> 
> category:
> default: "%{filter} topics in %{category}"
> posted: "Topics in %{category} you’ve posted in"
> bookmarks: "Topics in %{category} you’ve bookmarked"
> 
> no_tags:
> all_default: "All topics without tags"
> category_default: "%{filter} topics in %{category} without tags"
> all:
> posted: "All topics without tags you've posted in"
> bookmarks: "All topics without tags you've bookmarked"
> category:
> posted: "Topics in %{category} without tags you've posted in"
> bookmarks: "Topics in %{category} without tags you've bookmarked"
> 
> single_tag:
> default: "%{filter} topics tagged %{tag}"
> posted: "Topics tagged %{tag} you've posted in"
> bookmarks: "Topics tagged %{tag} you’ve bookmarked"
> 
> multi_tag:
> default: "%{filter} topics tagged %{tags}"
> posted: "Topics tagged %{tags} you've posted in"
> bookmarks: "Topics tagged %{tags} you’ve bookmarked"
> 
> category_tag:
> default: "%{filter} topics in %{category} tagged %{tags}"
> posted: "Topics in %{category} tagged %{tags} you’ve posted in"
> bookmarks: "Topics in %{category} tagged %{tags} you’ve bookmarked"
> 
> categories: "All categories"
> 
> filter_labels:
> latest: "Latest"
> top: "Top"
> new: "New"
> unread: "Unread"
> hot: "Hot"
> unseen: "Unseen"
> 
> ```

---

_[View the full topic](https://meta.discourse.org/t/translating-filter-in-headings-for-discovery-routes/363520)._
