Skip to content

ICU format not compatible/properly parsed by placeholders #162

@tankerkiller125

Description

@tankerkiller125

Using the { and } brackets for placeholders is correct for the ICU format. However when using an ICU select or number format texterify does not parse it correctly and turns it into multuple place holders.

As an example this string: { Count, plural, =0 {There are no results.} one {There is one result.} other {There are # results.}}

Gets parsed into the following placeholders by texterify:

  • { Count, plural, =0 {There are no results.}
  • {There is one result.}
  • {There are # results.}

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