You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love this library, but in some cases I don't want to override all routes in my project.
For example the search-route, which I have to call with /en/search.
Details
Translate Version: 4.4.2
Install type: Extension Repository
Bolt Version: 3.7
PHP version: 7.2
Description
I'd like to exclude some routes from the routing_override option.
In my case I'd like to exclude the search route, but I could come up with more use cases for this.
I normally just create a controller or an extension to create api routes without localization. But this is not the best way in my opinion. It would be much cleaner to register all routes in the routing.yml and exclude the ones that I don't want to be localized.
Maybe it's even possible to add a flag to the routes itself?
I love this library, but in some cases I don't want to override all routes in my project.
For example the search-route, which I have to call with
/en/search
.Details
Description
I'd like to exclude some routes from the
routing_override
option.In my case I'd like to exclude the search route, but I could come up with more use cases for this.
I normally just create a controller or an extension to create api routes without localization. But this is not the best way in my opinion. It would be much cleaner to register all routes in the
routing.yml
and exclude the ones that I don't want to be localized.Maybe it's even possible to add a flag to the routes itself?
I'm looking forward to your thought on this.
The text was updated successfully, but these errors were encountered: