Closed robin-de-gier closed 1 year ago
Hi,
I think you might be missing endpoints.MapRazorPages();
Check sample setup code from sandbox: https://github.com/valdisiljuconoks/localization-provider-epi/blob/main/docs/getting-started-epi.md#adding-provider-adminui-to-the-application
Thankyou! Missed that line and I have been pulling my hair for a while now. Thanks for the quick reply and the solution.
I cannot seem to get the ui to work. Currently working on updating our EPiServer to v12 which means we also had to update this library and we're aiming for the newest version. However the Localization ui does not load and according to the dev console it is a 404 on the RootUrl (so
localhost:5000/localization-admin
on default).We copied our DbLocalization settings to the Alloy project to test if some other settings were conflicting, but I cannot get it to work with the Alloy project either.
This is the Startup.cs we use in the Alloy project:
For the Alloy project I have the following packages:
I can't find any settings I might have missed in the documentation. Features like
@Html.GetTranslations
and@Html.Translate
work as expected, so only the retrieval of the localization ui seems to be the problem.