-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
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
Preferred User and Browser Locales #78
Conversation
PR Summary
This PR helps in improving user experience by being able to cater to their language preferences more smoothly, in turn, enhancing accessibility and personalization. |
Any updates on this? will you merge it? thanks |
Got here for the SVG bug. Good to see it's already fixed. Thanks @bezhanSalleh! Any news on when the new version will be released? |
Hopefully over the weekend |
…nSalleh/filament-language-switch into feature/user-preffered-locale-hook
…nSalleh/filament-language-switch into feature/user-preffered-locale-hook
Replaced current
getBrowserLocale()
with laravel's backed ingetPreferredLanguage()
userPreferredLocale()
to provide a way to set the locale based on authenticated user's localepreferredLocale()
to provide a way for devs to reorder the sources of how the preferred locale is retrievedCloses Get the default local from the Laravel config file before the browser #70
Fixes getBrowserLocale for pt_BR language #77
Resolves max-w-none and svg flags #73