created get_affixes function to use gettext