Closed kamilos-dev closed 2 years ago
Thanks for contacting us. Please note, that satellite assemblies are not loaded automatically, and that may be what you're missing here. You can learn more about how to configure localization by following our docs at https://learn.microsoft.com/en-us/aspnet/core/blazor/globalization-localization?view=aspnetcore-6.0&pivots=webassembly#localization
It won't work anyway. My app: https://github.com/szyn33k/Blazor-sample-app
Please compile it and check. @mkArtakMSFT
Describe the bug
App always get default value from resource (resx) file instead of based on culture.
Actual Behavior
Show alert with "MyDefaultValue" text.
Expected Behavior
Show alert with "MyPolishValue" text.
Steps To Reproduce
Create an blazor webassembly project.
Csproj file:
Program.cs file:
Create resource file MyResource.resx:
Create MyResource.pl-pl.resx file:
Exceptions (if any)
No response
.NET Version
6.0.401
Anything else?