# Js.filters.latest.title - incomplete pluralization in Transifex

**URL:** <https://meta.discourse.org/t/js-filters-latest-title-incomplete-pluralization-in-transifex/34116>\
**Category:** Bug\
**Created:** [4 Ottobre 2015, 12:15pm UTC](https://meta.discourse.org/t/js-filters-latest-title-incomplete-pluralization-in-transifex/34116 "2015-10-04T12:15:33Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [10 Novembre 2015, 9:32pm UTC](https://meta.discourse.org/t/js-filters-latest-title-incomplete-pluralization-in-transifex/34116/6 "2015-11-10T21:32:19Z")

</div>

Thanks for patience with me on this one! It has lasted so much time I’d forgotten some details.

> [@gerhard](#):
>
> Are they fine or should I solve this e.g. by using some kind of additional parameter with the i18n method?

1. Having reviewed everything I think your template approach is best. Sorry for the runaround but I think it makes the most sense even if it adds a bunch of logic.

2. That filter text is built programatically which is unfortunate. I think the following `git grep` shows most of the locations:

```sh
git grep "I18n.t([\"']filters"
app/assets/javascripts/discourse/components/navigation-item.js.es6: return I18n.t("filters." + name.replace("/", ".") + ".help", extra);
app/assets/javascripts/discourse/components/topic-post-badges.js.es6: link(buffer, this.get('unseen'), url, 'new-topic', 'new', I18n.t('filters.new.lower_title'));
app/assets/javascripts/discourse/helpers/period-title.js.es6: const title = I18n.t('filters.top.' + (TITLE_SUBS[period] || 'this_week'));
app/assets/javascripts/discourse/models/nav-item.js.es6: return I18n.t("filters." + name.replace("/", ".") + ".title", extra);
app/assets/javascripts/discourse/routes/build-category-route.js.es6: const filterText = I18n.t('filters.' + filter.replace('/', '.') + '.title', { count: 0 }),
app/assets/javascripts/discourse/routes/build-category-route.js.es6: return I18n.t('filters.with_category', { filter: filterText, category: category.get('name') });
app/assets/javascripts/discourse/routes/build-topic-route.js.es6: const filterText = I18n.t('filters.' + filter.replace('/', '.') + '.title', {count: 0});
app/assets/javascripts/discourse/routes/build-topic-route.js.es6: return I18n.t('filters.with_topics', {filter: filterText});
app/assets/javascripts/discourse/routes/discovery-categories.js.es6: return I18n.t("filters.categories.title");

```

---

_[View the full topic](https://meta.discourse.org/t/js-filters-latest-title-incomplete-pluralization-in-transifex/34116)._
