Open schmitch opened 1 year ago
Tagging subscribers to this area: @dotnet/area-system-globalization See info in area-owners.md if you want to be subscribed.
Author: | schmitch |
---|---|
Assignees: | - |
Labels: | `area-System.Globalization` |
Milestone: | - |
@lewing FYI
Tagging subscribers to this area: @dotnet/area-meta See info in area-owners.md if you want to be subscribed.
Author: | schmitch |
---|---|
Assignees: | - |
Labels: | `arch-wasm`, `area-Meta` |
Milestone: | - |
We also hope to implement the same functions outside of blazer, such as aspnetcore, because there is no need for globalization.
It is connected with https://github.com/dotnet/runtime/pull/80421. The solution is not as described in the issue, as we do not produce the ICU package on the build but it provides a bit more flexibility. We should introduce it in Blazor as well.
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
at the moment a lot of blazor apps are probably only published for a select few non english languages. however for them one can either use the invariant localization and than you would have no icu data at all or you can use the whole icu data there is no inbetween.
Describe the solution you'd like
it would be great that instead of having something like that:
https://learn.microsoft.com/aspnet/core/blazor/globalization-localization?view=aspnetcore-7.0&pivots=webassembly#invariant-globalization
One should be able to specify which locales to use, likede-de,en-us,en-gb and blazor would strip the data, so that it will be way smaller.
Additional context
No response