Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICU format not compatible/properly parsed by placeholders #162

Open
tankerkiller125 opened this issue Sep 17, 2023 · 1 comment
Open

ICU format not compatible/properly parsed by placeholders #162

tankerkiller125 opened this issue Sep 17, 2023 · 1 comment

Comments

@tankerkiller125
Copy link

tankerkiller125 commented Sep 17, 2023

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.}
@chrztoph
Copy link
Member

Hey, you are absolutely right. Unfortunately the ICU message format is currently not supported, but we will be adding it in the near future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants