def METHOD_NAME(x):
    locale = translation.get_language()
    try:
        return (
            Translation.objects.filter(id=x, locale=locale)
            .filter(localized_string__isnull=False)
            .values_list('localized_string', flat=True)[0]
        )
    except IndexError:
        return ''