Fix attr name on internal get_translations function