laravel-localization icon indicating copy to clipboard operation
laravel-localization copied to clipboard

Easy localization for Laravel

Results 96 laravel-localization issues
Sort by recently updated
recently updated
newest added

Hello In Laravel 9, displaying the route does not display page information and displays a white screen if I used the following commands route: trans: clear

1. binding in service provider changed to a way proposed by Laravel Octane in case if we detect it 2. introduced a listener to hook into Octane's RequestReceived event Refs:...

Right now, the current localization system does not handle using field names in route parameters. ### Example #### Route definitions french: `/ville/{city:slug}` --> default language english: `/city/{city:slug}` Using ` LaravelLocalization::getLocalizedURL()`...

i am trying to use mcamara package for language translation but on the root url i am getting 404 error. Actually i am trying to detect the ip address of...

How I can use option hideDefaultLocaleInURL' => true only for main page (url = /)? (skip detecting the language)

![image](https://user-images.githubusercontent.com/34031333/174983075-d4d02276-c849-4557-8dcf-9821ce65246a.png)

Laravel has recently released a beta version of Laravel Octane. Because a lot of things are cached, the list of routes doesn't update between requests. This means all prefixed routes...

**Describe the bug** i'm using reverse proxy server to handle ssl and load balance this middleware ` Mcamara\LaravelLocalization\Middleware\LocaleSessionRedirect ` will handle the url with locale prefix, but at `line:51` it...

When i try to get the localized URL of a model with translated route and slug, it returns the URL with the same slug (non localized), example: ```LaravelLocalization::getLocalizedURL('en', 'aparato/caldera', [],...

question

**Describe the bug** 404 not found error when used with laravel octane **To Reproduce** Steps to reproduce the behavior: 1. Apply laravel-localization 2. Apply laravel octane ([Swoole](https://laravel.com/docs/9.x/octane#swoole)) 3. Cache routes:...