WordPress.org

Make WordPress Core

Opened 5 weeks ago

Closed 5 weeks ago

#49201 closed enhancement (invalid)

Accessibility labels in iOS app might need both singular and plural forms

Reported by: pixelverbieger Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

Some strings in the iOS app provide accessibility labels for numbers.
Like

  • %@ million
  • %@ billion
  • %@ trillion
  • etc.

Depending on the value the placeholder can have, we need to be able to translate them to both singular and plural forms.
In German we say:

  • 0,01 Millionen (plural)
  • 0,1 Millionen (plural)
  • 1 Million (no decimal value -> singular!)
  • 1,0 Millionen (decimal value -> plural, even if decimal value is 0)
  • 2 Millionen (plural)
  • 2,0 Millionen (plural)

This applies to other languages as well, I think.

Change History (4)

#1 @tobifjellner
5 weeks ago

Well. If we start walking down this slope, then the question would rather be if the ios environment allows proper plural handling.
Sure, if you use same plural structure as for English, then many languages will work correctly. But there are still quite a few where it works differently (Slavic languages have three different forms, depending on the number, Arabic has five, etc. In this particular case we won't have any issues with the fact that there are actually differences among various Western European languages in whether 0 is singular or plural)

#3 @ocean90
5 weeks ago

  • Component changed from I18N to General
  • Focuses accessibility removed
  • Keywords mobile removed
  • Milestone Awaiting Review deleted

We use this bug tracker to discuss bugs and enhancements in WordPress core, for mobile apps please use https://github.com/wordpress-mobile.

#4 @SergeyBiryukov
5 weeks ago

  • Resolution set to invalid
  • Status changed from new to closed

Closing per the comments above.

If there are any issues in the WordPress for iOS mobile app, please report them on their GitHub repository.

Note: See TracTickets for help on using tickets.