Skip to content

intl: Will Intl.Segmenter need full ICU in Node.js even for the 'en' locale? #24039

Description

@vsemozhetbyt

Activity

  1. vsemozhetbyt commented on Nov 2, 2018

    @vsemozhetbyt
    ContributorAuthor

    cc @nodejs/v8 @nodejs/intl.

  2. added
    v8 engineIssues and PRs related to the V8 dependency.
    i18n-apiIssues and PRs related to Node.js internationalization support.
    on Nov 2, 2018
  3. devsnek commented on Nov 2, 2018

    @devsnek
    Member

    I'm a fan of anything that forces us to ship full icu

  4. vsemozhetbyt commented on Nov 2, 2018

    @vsemozhetbyt
    ContributorAuthor

    The answer from the implementers:

    Question: Will this need full ICU in Node.js even for the 'en' locale?
    Answer: YES

    Well, this is a strong argument to ship full ICU by default.

  5. vsemozhetbyt commented on Nov 2, 2018

    @vsemozhetbyt
    ContributorAuthor

    Our table is not correct anymore: small-icu for Intl is not even partial (English-only) now.

  6. jasnell commented on Nov 2, 2018

    @jasnell
    Member
  7. refack commented on Nov 2, 2018

    @refack
    Contributor

    Well, this is a strong argument to ship full ICU by default.

    As I mentioned in #21676, we should separate dev & test builds from release builds.
    Turning on full-icu only for release builds has IMO the most benefit, while carries the least cost for the current dev & test workflow (and build infra overhead).
    We could add some full-icu specific tests that will run only as part of the daily CI job.

    /CC @nodejs/testing

  8. vsemozhetbyt commented on Nov 2, 2018

    @vsemozhetbyt
    ContributorAuthor

    For this particular issue, see this and this comment:

    If they cut out necessary icu data for such configuration there are no way v8 code can load the icu data they cut out. that should be a node.js bug instead. - They cut out too much!

  9. Trott commented on Nov 6, 2018

    @Trott
    Member

    Is there anything to do at this time other than be aware that This Is Coming?

  10. Trott commented on Nov 10, 2018

    @Trott
    Member

    Should this be closed for the time being? If not, what is the condition for closing?

  11. vsemozhetbyt commented on Nov 10, 2018

    @vsemozhetbyt
    ContributorAuthor

    what is the condition for closing?

    Maybe clarification if this is wontfix from the ICU team?

  12. Trott commented on Nov 19, 2018

    @Trott
    Member

    @nodejs/intl Are we going to start shipping full icu? Or not? Or to be determined?

  13. srl295 commented on Dec 18, 2018

    @srl295
    Member

    So,for this case, I'd think we would just change the definition of 'small icu' to include the break iterator files.

    It's this line, to change brkiter from none to proabbly locales (meaning just 'en' by default) https://github.com/nodejs/node/blob/master/tools/icu/icu_small.json#L19

    So probably this issue should be closed with "no", or used to put the needed fix in once this v8 change lands.

  14. richardlau commented on Nov 7, 2019

    @richardlau
    Member

    We're shipping full icu by default now so closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    i18n-apiIssues and PRs related to Node.js internationalization support.v8 engineIssues and PRs related to the V8 dependency.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions