Server Side localisation working on local but not on my server
I have server side localisation. Every thing working perfectly while debugging on local.
But i have hosted on IIS server some how its not working;
Here is my Startup implementation;
In local, i am entering this url and localizations just works;
http://localhost:53416/Culture/SetCulture?culture=de&redirectUri=%2Ftanimlar
Check whether the “wwwroot” folder in published location have “_content” folder
I have just fixed with github sample project help. My lang. packages placed wrong file path while publishing.
HI,
Unfortunately, we made this mistake: the localizer works well locally, but not when uploaded to IIS.
resx file exists:
{appname}.resource.dll exists:
wwwroot>_content ok:
What could be the problem ?
Hi,
Thanks for contacting Syncfusion support.
Based on the query raised. We have created a Blazor server application using .NET 7 as the target framework. In the application, we have included a calendar component with localization support and we published the application folder using Visual Studio. Then, hosted the application on an IIS server and we were not able to replicate the problem.
We have attached the sample file used in the replication process.
Reference Image:
To assist you better, could you please share more details like package versions, target framework, application type, images or videos, sample code(if applicable). These details will enable us to understand and address the issue more effectively.
Arun Kumar R
Attachment: Localization_82d23d1b.zip
- 5 Replies
- 4 Participants
- Marked answer
-
BL Blazor
- Sep 29, 2020 01:12 AM UTC
- Jul 10, 2023 03:58 PM UTC