Locale API to enforce "valid" level of conformance for BCP47 tags

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 26
    • Component/s: core-libs
    • None

      BCP47 defines two level of conformance: well-formed and valid.

      The latter of which is expensive, as it involves checking against possibly the entire subtag registry for a given language tag. While there are no pressing reasons to implement such an API, filing this issue as a place-holder for any possible future considerations.

      Such a change would have negative impact on build-time, which is when the subtag registry is processed. This would be the primary road-block at first glance.

            Assignee:
            Justin Lu
            Reporter:
            Justin Lu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: