def METHOD_NAME(self, create, extracted, **kwargs):
    if not create:
        return
    if extracted:
        for locale in extracted:
            ProjectLocaleFactory.create(project=self, locale=locale)