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

First of all, thank you for the package. I have a problem using your package with Laravel Nova. I am only using your package with my frontend routes. However, my...

feature request

Hello, I have mapped my locales like that: 'localesMapping' => ['es' => 'es_ES', 'en-US' => 'en_US'], So an example of my routes would be: http://localhost/laravel/public/es_ES/aventura http://localhost/laravel/public/en_US/adventure this works fine except...

bug

Redirection from non-localized URLs to localized URLs does not work sometimes, because of `LaravelLocalization::extractAttributes()` behaviour : it does not match domain restrictions. (More generally, `getLocalizedURL` does not work because of...

Some small increments to handle the app fallback locale, as quoted in #505.

From laravel documentation: For languages that differ by territory, you should name the language directories according to the ISO 15897. For example, "en_GB" should be used for British English rather...

I have the following issue (maybe a configuration issue?): I have `en` defined in the supported locales and default language set to `de`. `useAcceptLanguageHeader `is set to true. When browser...

feature request

Utilizing all 4 middleware for this procedure. ``` Route::group([ 'prefix' => LaravelLocalization::setLocale(), 'middleware' => [ 'localize', 'localeSessionRedirect', 'localizationRedirect', 'localeViewPath' ] ], function() { Route::get(LaravelLocalization::transRoute('routes.contact'), 'PageController@contact')->name('contact'); }); ``` `'hideDefaultLocaleInURL' => true,`...

feature request

Hello Please add prefix support. Like for b2b site: www.example.com/b2b/en/

feature request

**Describe the bug** Route model binding is not working, why? **To Reproduce** In web.php: `Route::get('/page/{page}', function (App\Page $page) { return $page; });` return is not exists model. When I remove...

**Describe the bug** Hello. I found a potential bug when was writing integration tests for the site that uses this plugin. **To Reproduce** Steps to reproduce the behavior: 1. Open...