chinleung / laravel-multilingual-routes

A package to handle multilingual routes in your Laravel application.
https://github.com/chinleung/laravel-multilingual-routes-demo
MIT License
395 stars 25 forks source link

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

Open wsslfnstr opened 3 years ago

wsslfnstr commented 3 years ago

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.

chinleung commented 3 years ago

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 12 months ago

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

chinleung commented 11 months ago

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.