Skip to content

ICU MessageFormat support #3878

@titusdecali

Description

@titusdecali

Describe the feature

I have a need for using ICU MessageFormat, but after hours I've found no way around the lack of of support for it in intlify/unplugin-vue-i18n, and no way to disable unplugin-vue-i18n within @nuxt/i18n if I wanted to roll my own.

Current method:
"someKey": "You have no cats. | You have one cat. | You have {count} cats."

What is not currently supported:
"someKey": "You have {catCount, plural, zero {no cats} one {# cat} other {# cats}}."

Any chance it will be supported eventually?

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestupstreamIssue requires changes by a dependency rather than in this repo.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions