# 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:** 5

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [9 Novembre 2015, 8:45pm UTC](https://meta.discourse.org/t/js-filters-latest-title-incomplete-pluralization-in-transifex/34116/5 "2015-11-09T20:45:21Z")

</div>

As you can see in my [PR 3817](https://github.com/discourse/discourse/pull/3817) I had to add a few conditional statements to some templates.

Before:

> <https://github.com/discourse/discourse/blob/4de412365e12e6ad978147c7be23f9e36978f918/app/assets/javascripts/admin/templates/modal/admin_badge_preview.hbs#L17-L18>

After:  
[https://github.com/gschlager/discourse/blob/1e6ff9a83a8c154045a7af28f8d9c0533c90bd15/app/assets/javascripts/admin/templates/modal/admin\_badge\_preview.hbs#L17-L23](https://github.com/gschlager/discourse/blob/1e6ff9a83a8c154045a7af28f8d9c0533c90bd15/app/assets/javascripts/admin/templates/modal/admin_badge_preview.hbs#L17-L23)

I didn’t fix the remaining four translation keys since they probably need some changes to templates as well and you expressed your [concern about those changes in your comment](https://github.com/discourse/discourse/pull/3817#issuecomment-143792637):

> The client templates seem to be quite a bit longer with this patch and I thought zero was a nice feature.

Finding all occurrences of those `js.filters` keys seemed like a lot of work and I wasn’t sure if you even wanted me to change the templates the way I did.

What I need from you in order to finish my PR:

- A decision regarding my template changes. Are they fine or should I solve this e.g. by using some kind of additional parameter with the `i18n` method?
- Maybe some hints where the `js.filters` keys are used. Looks like the keys are concatenated most of the time which makes them hard to find.

---

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