Skip to content

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

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions