lunarphp / livewire-starter-kit

Demonstration store for Lunar
https://docs.lunarphp.io/core/starter-kits.html
155 stars 51 forks source link

Faker locale must be `en_US` for order seeder to work #21

Closed glennjacobs closed 2 years ago

glennjacobs commented 2 years ago

How should we overcome this?

alecritson commented 2 years ago

I guess we'd set the locale to en_US in the config? Otherwise we'd need to write some sort of detection on the factory classes in GetCandy.

glennjacobs commented 2 years ago

But the config can get overwritten by the installer, I think?

alecritson commented 2 years ago

The faker locale is set by the Laravel config, not GetCandy so I don't think it would be?

glennjacobs commented 2 years ago

The faker locale is set by the Laravel config, not GetCandy so I don't think it would be?

That's ok then.

alecritson commented 2 years ago

Looks like it's already set to en_US so should be able to close this.