mzfp Posted October 19, 2023 Share Posted October 19, 2023 Hi i wonder if it's possible to have multiple translations of a modules front controller url? for example: /module/mymodule/mycontroller /module/mymodule/micontroladora and of course they should both route to the same controller. I couldn't find anything on the topic over at Prestashop dev docs therefore hoping someone here can answer. Link to comment Share on other sites More sharing options...
Kogkalidis Posted October 20, 2023 Share Posted October 20, 2023 (edited) It is possible but you have to dig around. First of all use hook moduleRoutes and override the function where it is being called. Because no matter how many languages you may have, it is calculated based on the active one. Edited October 20, 2023 by Kogkalidis (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now