[GH-ISSUE #5795] Plural missing digit placeholder #14969

Closed
opened 2026-04-15 01:13:46 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @SaintPatrck on GitHub (Aug 27, 2025).
Original GitHub issue: https://github.com/bitwarden/android/issues/5795

Originally assigned to: @SaintPatrck on GitHub.

It's correct for my language, but as you can read in Android Developers about one form:


<resources>

    <plurals name="numberOfSongsAvailable">

        <!--

             As a developer, you should always supply "one" and "other"

             strings. Your translators will know which strings are actually

             needed for their language. Always include %d in "one" because

             translators will need to use %d for languages where "one"

             doesn't mean 1 (as explained above).

          -->

        <item quantity="one">%d song found.</item>

        <item quantity="other">%d songs found.</item>

    </plurals>

</resources>

Originally posted by @mKoonrad in 0a39883

Originally created by @SaintPatrck on GitHub (Aug 27, 2025). Original GitHub issue: https://github.com/bitwarden/android/issues/5795 Originally assigned to: @SaintPatrck on GitHub. > It's correct for my language, but as you can read in [Android Developers](https://developer.android.com/guide/topics/resources/string-resource?hl=en#Plurals) about one form: > > ``` > > <resources> > > <plurals name="numberOfSongsAvailable"> > > <!-- > > As a developer, you should always supply "one" and "other" > > strings. Your translators will know which strings are actually > > needed for their language. Always include %d in "one" because > > translators will need to use %d for languages where "one" > > doesn't mean 1 (as explained above). > > --> > > <item quantity="one">%d song found.</item> > > <item quantity="other">%d songs found.</item> > > </plurals> > > </resources> > > ``` _Originally posted by @mKoonrad in [0a39883](https://github.com/bitwarden/android/commit/0a398839c45a82a01799e0f4ae9bf39b208c2796#r164696602)_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#14969