We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a16ee7 commit 204c3aeCopy full SHA for 204c3ae
src/Mcamara/LaravelLocalization/Traits/LoadsTranslatedCachedRoutes.php
@@ -24,7 +24,9 @@ protected function loadCachedRoutes()
24
25
// compute $locale from url.
26
// It is null if url does not contain locale.
27
- $locale = $localization->setLocale();
+ $locale = $localization->getInversedLocaleFromMapping(
28
+ $localization->setLocale()
29
+ );
30
31
$localeKeys = $localization->getSupportedLanguagesKeys();
32
0 commit comments