mcamara / laravel-localization

Easy localization for Laravel
MIT License
3.32k stars 507 forks source link

Change params on changing language #896

Open Misagh90 opened 4 months ago

Misagh90 commented 4 months ago

Hi, Is there any way that when i use {{ LaravelLocalization::getLocalizedURL('en') }}, the changing language changes with the params?

my sample params: https://127.0.0.1:8000/fa/محصولات?pack=شیشه&category=سیروپ https://127.0.0.1:8000/en/products?pack=glass&category=syrups

or any other solution without the {{ LaravelLocalization::getLocalizedURL('en') }}?