Skip to content

In SF 3.2.6, problem to generate i18n routes in production mode. #102

Open
@Crusider

Description

@Crusider

Hello,

My project is in SF 3.2.6 and I try to generate the i18n routes in production mode.

In dev mode, it's ok.

But in production mode, routes generated are always in same locale (the current).

I use this link to switch :

<a href="{{ path(app.request.attributes.get('_route'), {'locale': 'fr'}) }}">fr</a>
<a href="{{ path(app.request.attributes.get('_route'), {'locale': 'en'}) }}">en</a>

Can you help me ?

Thank you in advance.

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