镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

allow stripping the icu data for blazor apps #81552

Closed

Description

@schmitch

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

Activity

  1. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Feb 2, 2023
  2. mkArtakMSFT commented on Feb 2, 2023

    @mkArtakMSFT
  3. saber-wang commented on Feb 7, 2023

    @saber-wang

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

  4. ilonatommy commented on Mar 15, 2023

    @ilonatommy
    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.

  5. self-assigned this
    on Mar 15, 2023
  6. added this to the 9.0.0 milestone on Jul 21, 2023
  7. modified the milestones: 9.0.0, Future on Jul 28, 2024
  8. ilonatommy commented on Oct 13, 2025

    @ilonatommy
    Member

    The current solution for this problem is custom ICU. It can be used in both Wasm and Blazor. Blazor Wasm doc.

  9. locked and limited conversation to collaborators on Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions