Skip to content
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

Laravel 10 lang folder + doesn't have support for languages with more then 2 characters like sr_Latn #21

Open
stefanrakicfaxi opened this issue Nov 29, 2023 · 0 comments

Comments

@stefanrakicfaxi
Copy link

After installing this package my localization stopped working and I needed to move my lang folder from root to resources.
In Laravel 10 default location for lang is in root and should be good to keep it.
In the project I have a Serbian language and the localization name is sr_Latn but from your middleware, I see that you use only the first 2 characters I hack it temporarily but that's not good because in my case sr directory should be for Serbian Cyrillic and the sr_Latn for Serbian Latin which is commonly used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant