Skip to content

Load ICU resources directly from ICU.ResourceBundle when applicable #1841

@itingliu

Description

@itingliu

There are several uloc API that simply looks up resources from their resource bundle, such as

// uloc
uloc_getDisplayName
uloc_getAvailable
uloc_getDisplayKeywordValue
... 

// ucal
ucal_getAttribute
ucal_getCanonicalTimeZoneID

// others
uatmufmt_getListPattern
unum_getSymbol
ucurr_forLocale
ulocdata_getDelimiter
uatimezone_getDisplayName

We should investigate if we can read the resources directly from ICU.ResourceBundle, which would allow optimization by moving away from having to parse locale identifier and skip creating ucal objects

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions