Localization icon indicating copy to clipboard operation
Localization copied to clipboard

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

Open criting opened this issue 3 years ago • 0 comments

  • 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?

criting avatar Feb 21 '22 16:02 criting