Skip to content

Missing plural forms #5458

@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.

Example English:
2 characters,
10 characters
etc.

Polish:
2 znaki
5 znaków

Expected Result

Strings with missing plurals to add:

<string name="minimum_characters">%1$s znaków</string>

<string name="password_exposed">To hasło znajduje się w %1$s wykradzionej(ych) bazie(ach) danych. Należy je zmienić.</string>

<string name="your_master_password_cannot_be_recovered_if_you_forget_it_x_characters_minimum">Twoje hasło główne nie może zostać odzyskane, jeśli je zapomnisz! Minimum znaków: %1$s.</string>

<string name="master_password_length_val_message_x">Hasło główne musi zawierać co najmniej %1$s znaków.</string>

Actual Result

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

Screenshots or Videos

No response

Additional Context

More info about plurals: https://developer.android.com/guide/topics/resources/string-resource?hl=en#Plurals
https://www.unicode.org/cldr/charts/47/supplemental/language_plural_rules.html

Build Version

not relevant

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