# Some translations are not getting translated

**URL:** <https://forum.djangoproject.com/t/some-translations-are-not-getting-translated/22010>\
**Category:** Getting Started\
**Created:** [July 1, 2023, 8:59pm UTC](https://forum.djangoproject.com/t/some-translations-are-not-getting-translated/22010 "2023-07-01T20:59:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeaDSouL](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/deadsoul/32/14023_2.png) [@DeaDSouL](https://forum.djangoproject.com/u/DeaDSouL)\
**Post date:** [July 1, 2023, 8:59pm UTC](https://forum.djangoproject.com/t/some-translations-are-not-getting-translated/22010/1 "2023-07-01T20:59:55Z")

</div>

Hello

I have this in my admin.py:

```auto
class SomeAdmin(admin.ModelAdmin):
    @admin.display(description=_('Cases %(year)d') % {'year': previous_year}, ordering='cases_previous_year')
    def previous_year(self, inv_presidency):
        ... some code ...

```

and this in app/locale/ar/LC\_MESSAGES/django.po

```auto
#: case_tracking/gdoi/case_movements/admin.py:313
msgid "Cases %(year)d"
msgstr "قضايا %(year)d"

```

everything is getting translated, except the one mentioned above!!  
why is that?

Thanks
