Adding feature to Router for custom language URL #40736
Labels
area-blazor
Includes: Blazor, Razor Components
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
feature-blazor-routing
Features related to routing in Blazor applications
feature-blazor-server
Priority:2
Work that is important, but not critical for the release
Milestone
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
Im using blazor server and when I am trying to implement a language url to my website, I run into problems with the router component.
I tried to modify the current router but many of the classes are protected and inaccessible.
https://example.com/home
-->https://example.com/en/home
My desired outcome is to use
@page "/home"
on the pages without adding the language code.Describe the solution you'd like
Either implement a feature to easier create language URL with the router component or make it easier to modify the current router.
Additional context
No response
The text was updated successfully, but these errors were encountered: