how to use mcamara/laravel-localization in prefix #165
Unanswered
battulga0719
asked this question in
Q&A
Replies: 1 comment
-
Would something like #119 help? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hello. i have a multiple locale and switch between and use different content depending on a current locale and i'm trying to use fabricator like that as well so can freely change contents. is there a solution for this currently it is returning an error saying A facade root has not been set.
use Mcamara\LaravelLocalization\Facades\LaravelLocalization;
return [
'routing' => [
'enabled' => true,
'prefix' => LaravelLocalization::setLocale(),
],
];
Beta Was this translation helpful? Give feedback.
All reactions