Custom map routing of OrchardCore.Users
actions with culture
#16477
Replies: 2 comments 8 replies
-
Perhaps you can use Also, @hishamco you can help, perhaps? |
Beta Was this translation helpful? Give feedback.
-
Why you didn't use localization routing which is feature that many might not now about, BTW similar issue already there https://github.com/hishamco/aspnetcore/tree/main/src%2FMiddleware%2FLocalization.Routing Hopefully I will reply with detailed answer tomorrow coz my Grandma is RIP today 😔 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I configured my OrchardCore solution for en and it cultures by using
OrchardCore.Localization
module.I would like to access to all
OrchardCore.Users
actions only with my custom routes as following:where /en/login will return Login page in English, /it/login will return Login page in Italian, and so on.
Perhaps, how can I map all
OrchardCore.Users
route actions with the example above?Beta Was this translation helpful? Give feedback.
All reactions