I am trying to implement localization for a Blazor WebAssembly app. I followed the example referred in the Documentation. I created the .resx files as per the example but my Blazor WebAssembly app does only show the string for the default .resx file ignoring the .resx files for the individual cultures. In the Documentation referred above I read:
By default, Blazor's linker configuration for Blazor WebAssembly apps strips out internationalization information except for locales explicitly requested. For more information and guidance on controlling the linker's behavior, see Configure the Linker for ASP.NET Core Blazor.
Following this last link I tried adding the following under my project file <PropertyGroup>
<MonoLinkerI18NAssemblies>all</MonoLinkerI18NAssemblies>
However this doesn't seem to work and on my Blazor WebAssembly app I am not able to see the localized text, I can only see the text for the default .resx file.
This should be fixed on the next release of Blazor, preview 4. This has been confirmed by the author of the example in a github issue. The article in the documentation was published a little too early but this should be fixed shortly when the Blazor preview 4 is released.