Skip to content

Create url and locale language #4

@DAGpro

Description

@DAGpro

When creating a URL for the current page
$urlGenerator->generateFromCurrent();
the URL is created with the locale, if the locale is the default Locale Middleware redirects to the URL without the locale, in middleware Dispatcher returns a request object with the locale.

In the route middleware, the locale is again passed to the generator through the CurrentRoute class and so on in a circle )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions