if localized_fields equals ALL_FIELDS, or if localized_fields is true and f.name is contained in localized_fields,
if localized_fields == ALL_FIELDS or ( localized_fields and f . name in localized_fields ) :