Skip to content

Add support for string plurals #31

@RussellZornes

Description

@RussellZornes

A way to deal with string plurals would be useful.

{
  "clicked": {
    "zero": "You didn't click",
    "one": "You clicked one time!",
    "other": "You clicked many times!"
  }
}

In code the strings would be accessed as...

Translation.of(context).clicked(times);

Where 'times' is an integer that would be used to map to plural entry.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions