Skip to content

Unable to generate a URL for the named route when locale not available #238

Open
@blackarcanis

Description

@blackarcanis

Hi,
I got the error "Unable to generate a URL for the named route "%s" as such route does not exist" when trying to get a route with a "locale" param I'm not supporting (for example "PT" while I having only "FR" and "EN" supported).
Why ? I got "EN" in "default_locale", so I'm expecting to not have this error and have the route to "EN" instead.

I'm doing something wrong here ? How can I have this behavior ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions