Cool now I can run it through the translator. ops = (_("Directory"), _("Replace"), _("ChangeCase"), _("Move"), _("Swap"), _("Insert"), _("ChangeLength")) self.operations.insert(pos, getattr(operations, ops[n]).Panel(self, main)) Thanks guys!