Skip to content

Support ICUString with placeholders  #47

@michael-wirth

Description

@michael-wirth

Plurals class fails to parse ICU strings with placeholders correctly.
https://github.com/transifex/transifex-java/blob/devel/TransifexNativeSDK/common/src/main/java/com/transifex/common/Plurals.java#L50

Source: {???, plural, one {{{count }} ONE } other {{{count }} OTHER }}

Actual:

Result: Plurals{zero='null', one='{{count', two='null', few='null', many='null', other='{{count'}

Expected:

Result: Plurals{zero='null', one='{{count}} ONE', two='null', few='null', many='null', other='{{count'}} OTHER}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions