We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I've added on my blade file:
getDefaultLocale: {{ LaravelLocalization::getDefaultLocale() }} getCurrentLocale: {{ LaravelLocalization::getCurrentLocale() }} app.locale: {{ Config::get('app.locale') }} app.fallback_locale: {{ Config::get('app.fallback_locale') }}
Output local (dev):
getDefaultLocale: fr getCurrentLocale: fr app.locale: fr app.fallback_locale: en
Output production: getDefaultLocale: en-US getCurrentLocale: fr app.locale: fr app.fallback_locale: en
I don't understand these differences? Configuration file, laravel version, package are the same.
Our routes are inside: 'prefix' => LaravelLocalization::setLocale(), 'middleware' => ['localeSessionRedirect', 'localizationRedirect', 'localeViewPath', 'localize', 'guest']
I've done
php artisan config:clear php artisan cache:clear
multiple times.
We are hosting our production through Laravel Vapor.
Could you help us?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I've added on my blade file:
getDefaultLocale: {{ LaravelLocalization::getDefaultLocale() }}
getCurrentLocale: {{ LaravelLocalization::getCurrentLocale() }}
app.locale: {{ Config::get('app.locale') }}
app.fallback_locale: {{ Config::get('app.fallback_locale') }}
Output local (dev):
getDefaultLocale: fr
getCurrentLocale: fr
app.locale: fr
app.fallback_locale: en
Output production:
getDefaultLocale: en-US
getCurrentLocale: fr
app.locale: fr
app.fallback_locale: en
I don't understand these differences? Configuration file, laravel version, package are the same.
Our routes are inside:
'prefix' => LaravelLocalization::setLocale(),
'middleware' => ['localeSessionRedirect', 'localizationRedirect', 'localeViewPath', 'localize', 'guest']
I've done
php artisan config:clear
php artisan cache:clear
multiple times.
We are hosting our production through Laravel Vapor.
Could you help us?
The text was updated successfully, but these errors were encountered: