Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow stripping the icu data for blazor apps #81552

Open
1 task done
schmitch opened this issue Feb 1, 2023 · 5 comments
Open
1 task done

allow stripping the icu data for blazor apps #81552

schmitch opened this issue Feb 1, 2023 · 5 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Meta
Milestone

Comments

@schmitch
Copy link

schmitch commented Feb 1, 2023

Is there an existing issue for this?

  • I have searched the existing issues

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, like de-de,en-us,en-gb and blazor would strip the data, so that it will be way smaller.

Additional context

No response

@mkArtakMSFT mkArtakMSFT transferred this issue from dotnet/aspnetcore Feb 2, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Feb 2, 2023
@mkArtakMSFT mkArtakMSFT added arch-wasm WebAssembly architecture and removed area-System.Globalization untriaged New issue has not been triaged by the area owner labels Feb 2, 2023
@ghost
Copy link

ghost commented Feb 2, 2023

Tagging subscribers to this area: @dotnet/area-system-globalization
See info in area-owners.md if you want to be subscribed.

Issue Details

Is there an existing issue for this?

  • I have searched the existing issues

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 with 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, like de-de,en-us,en-gb and blazor would strip the data, so that it will be way smaller.

Additional context

No response

Author: schmitch
Assignees: -
Labels:

area-System.Globalization

Milestone: -

@mkArtakMSFT
Copy link
Member

@lewing FYI

@ghost
Copy link

ghost commented Feb 2, 2023

Tagging subscribers to this area: @dotnet/area-meta
See info in area-owners.md if you want to be subscribed.

Issue Details

Is there an existing issue for this?

  • I have searched the existing issues

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 with 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, like de-de,en-us,en-gb and blazor would strip the data, so that it will be way smaller.

Additional context

No response

Author: schmitch
Assignees: -
Labels:

arch-wasm, area-Meta

Milestone: -

@saber-wang
Copy link

We also hope to implement the same functions outside of blazer, such as aspnetcore, because there is no need for globalization.

@ilonatommy
Copy link
Member

It is connected with #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-Meta
Projects
None yet
Development

No branches or pull requests

7 participants