-
Hi, Is there a way in ABP to have the URL in the format '/en' instead of '?culture=en' when we specify 'culture=en' in the URL to handle the language change? I'm asking this because I don't want to disrupt the framework structure and wondered if there is a way to achieve this in ABP or if I should apply the techniques I use in normal ASP.NET Core. Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
maliming
Jul 6, 2023
Replies: 1 comment
-
hi This won't break the framework. You can add your culture provider.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
burakdmir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi
This won't break the framework. You can add your culture provider.
culture=en
is coming from asp net core'sQueryStringRequestCultureProvider
.https://learn.microsoft.com/en-us/aspnet/core/fundamentals/localization/select-language-culture?view=aspnetcore-7.0#configure-localization-middleware
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/localization/select-language-culture?view=aspnetcore-7.0#querystringrequestcultureprovider