if not self.localized_fields is None. get 'labels' attribute from the options object, if it exists substitute it for self.labels, if not self.labels is None.
self . labels = getattr ( options , 'labels' , None )