Please sign in to comment.
[FIX] website, http_routing: fix translate on website.page
Before this commit: website.page won't be rendered as translated items since it is not going though a controller (route) enabling multilang. Website.page were not considered as multilang items and no lang prefix were applied on link. Now: website.page will correcly handling translation. In case of one route doesn't match a controller, it is now by default a route of type multilang. Add a new field auto_redirect_lang on website model to allow to deactive the autoredirect of the lang optionnaly. The code will arrive after more tests.
- Loading branch information...
Showing with 5 additions and 2 deletions.