We have setup the dynamic routing with multi culture suppot by using the recommended URL pattern /{% DocumentCulture %}{% NodeAliasPath %}.
In the implementation we used 2 ways:
- The first one with a custom controller by using DynamicRouteHelper.GetPage()
- Second option with dynamic routing attributes.
[assembly: DynamicRouting(typeof(BasicPageController), new string[] { BasicPage.CLASS_NAME }, nameof(BasicPageController.Index))]
We can visit the different languages, so that part works, but the content of the page is always the default language.
Is this a bug, or are there additional settings necessary to solve this?
We have setup the dynamic routing with multi culture suppot by using the recommended URL pattern /{% DocumentCulture %}{% NodeAliasPath %}.
In the implementation we used 2 ways:
[assembly: DynamicRouting(typeof(BasicPageController), new string[] { BasicPage.CLASS_NAME }, nameof(BasicPageController.Index))]
We can visit the different languages, so that part works, but the content of the page is always the default language.
Is this a bug, or are there additional settings necessary to solve this?