[wp-trac] [WordPress Trac] #50194: Add i18n to size_format
WordPress Trac
noreply at wordpress.org
Tue Jun 16 16:43:13 UTC 2020
#50194: Add i18n to size_format
------------------------------+-----------------------
Reporter: Rahe | Owner: audrasjb
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.5
Component: I18N | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------
Comment (by johnbillion):
We could go a step further here and implement `_nx()` with a placeholder
for the numeric value instead of always appending the unit to the end.
Question: Are there actually any languages where the unit for the size of
a value differs depending on the plurality of the number? (eg. is
`KB`/`KBS` a thing?) I don't know, maybe this would be an unnecessary
change.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50194#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list