chinleung/laravel-multilingual-routes

Possible to use subdomain/domain instead of /en/home

wsslfnstr opened this issue · 3 comments

Is it possible to use multiple (sub)domains instead of url?
For example:
laravel.nl/home

instead of

laravel.com/nl/home

I hope to hear from you soon.

Hey @wsslfnstr, it is currently not possible to achieve this structure with the package but I plan to support it in the future.

For the moment, you'd have to register your routes manually.

fero8 commented

This would be a great feature! Any plans on adding this please?

This would be a great feature! Any plans on adding this please?

I don't have time to work on this yet. I could probably come up with something in December. Will definitely accept a pull request that implements this before though.