Skip to content

[PM-25483] Missing plural forms #1912

@mKoonrad

Description

@mKoonrad

Steps To Reproduce

In many languages, there is more than one plural form. App currently does not support plural forms. There is no way to translate some strings correctly. You need to add full support for plurals. Then Crowdin translator will have opportunity to translate plurals in specific country format.

Example English:
1 character
2 characters,
10 characters
etc.

Polish:
1 znak
2 znaki
5 znaków

Expected Result

Adding plural forms for following strings using Localizable.stringsdict file:

"PasswordExposed" = "This password has been exposed %1$@ time(s) in data breaches. You should change it.";

"XCharacters" = "%1$@ Characters";

"ItemsSuccessfullyImported" = "%1$@ items successfully imported";

Actual Result

Missing plural forms. Can't translate some strings correctly.

Screenshots or Videos

No response

Additional Context

https://developer.apple.com/documentation/xcode/localizing-strings-that-contain-plurals

Build Version

any

What server are you connecting to?

N/A

Self-host Server Version

No response

Environment Details

No response

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions