localize_fields