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

Why don't change of the prefix set a new local/language? #168

Open
criting opened this issue Feb 21, 2022 · 0 comments
Open

Why don't change of the prefix set a new local/language? #168

criting opened this issue Feb 21, 2022 · 0 comments

Comments

@criting
Copy link

criting commented Feb 21, 2022

  • Localization Version: 8.1
  • Laravel Version: 8.5.1
  • PHP Version: 8.1.1

I followed the steps and installed the package, edited the config for it and allowed EN and BG to be available.
The EN is default and BG is the other option available.
When I open it with BG prefix /bg/ all the links work, and they are all with the BG prefix, but the actual content is always from the EN version, and using Laravel's default function, current locale always returns en, which is the default localization.

Isn't going to /bg/ supposed to change the local of the website?

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