-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Description
[EDIT by guardrex to add the metadata]
Issue description
Our globalization-localization docs are missing a few bits that are in https://github.com/dotnet/runtime/blob/89bba37a92053f52e38d5a5c81a1f3510319dabf/docs/design/features/globalization-icu-wasm.md.
Suggested location to add these bits:
https://learn.microsoft.com/en-us/aspnet/core/blazor/globalization-localization
OR
https://learn.microsoft.com/en-us/dotnet/core/extensions/globalization-icu
(not sure what is neater)
We want to move the information about:
- shards (
icudt.*.dat
), the data each shard contains (1st paragraph) - The 2nd paragraph can be copied but using blazor propery
BlazorIcuDataFileName
instead ofWasmIcuDataFileName
. The custom ICU can be mentioned with a link to the github doc - https://github.com/dotnet/runtime/blob/89bba37a92053f52e38d5a5c81a1f3510319dabf/docs/design/features/globalization-icu-wasm.md#custom-icu. It is considered a workaround way for corner cases and manual ICU build is not guaranteed to work with all filters configuration, so I would prefer to treat it as instruction for "advanced" users. - The paragraph describing what
BlazorWebAssemblyLoadAllGlobalizationData
does.
Software versions
It should be applied to version .NET Core 8 and later.
Other remarks:
- https://learn.microsoft.com/en-us/dotnet/core/extensions/globalization-icu#icu-on-webassembly is very hard to understand. I am suspecting it contains limitations that were valid for an experimental
HybridGlobalization
feature that was disabled in [browser] Remove WASMHybridGlobalization
from runtime code runtime#110567. It should be removed for net10. If you choose to place the blazor globalization switches update there, it can replace fully "icu-on-webassembly" paragraph. - In case we would be adding the updates in "globalization-icu", let's add a cross link to it to "blazor/globalization-localization" and the other way around.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 15e7c51d-1839-1849-813a-23c4d21c64ae
- Version Independent ID: d6f07538-228e-9f96-680f-6c324caf11d6
- Platform ID: bd2a8fe1-da71-2bfb-045d-1b5f49d944a4
- Content: ASP.NET Core Blazor globalization and localization
- Content Source: aspnetcore/blazor/globalization-localization.md
- Service: aspnet-core
- Sub-service: blazor
- GitHub Login: @guardrex
- Microsoft Alias: wpickett
Metadata
Metadata
Assignees
Type
Projects
Status
Done