Skip to content

Overriding of internal transliterators #3911

Open
@skius

Description

@skius

We do not allow users to directly create transliterators (using the runtime API) that are any of:

  1. Wrappers around existing components, like Any-Upper (for uppercasing), Any-NFC, ...
  2. Transliterators from sources marked as visibility: internal, such as Bengali-InterIndic (nvm - see comment)

Using the "plugin"/"override"/"custom code-based" transliterator functionality where users can override the implementation of a transliterator at runtime using a trait object, can users override these impossible-to-construct transliterators?

ICU seems to support overriding both transliterators like Any-NFC and visibility: internal ones like Bengali-InterIndic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-transliteratorComponent: transliteratorC-unicodeComponent: Props, sets, triesS-mediumSize: Less than a week (larger bug fix or enhancement)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions