[wp-trac] [WordPress Trac] #29819: PHP Number Format (Decimal Point) of ru_RU
WordPress Trac
noreply at wordpress.org
Wed Oct 1 22:37:09 UTC 2014
#29819: PHP Number Format (Decimal Point) of ru_RU
--------------------------+------------------------------
Reporter: Shiro245 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.0
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by SergeyBiryukov):
> But still, it can be a problem with other, different plugins and themes
itself that performing calculation of paddings and other style things.
The `number_format_decimal_point` value from the .po file is only used in
[http://codex.wordpress.org/Function_Reference/number_format_i18n
number_format_i18n()] function, built to convert numbers to the format
used by a specific locale. It should be used for output and not for
calculations.
Calculations, however, depend on PHP locale, and changing that value does
not affect it.
We should educate plugin and theme authors and deal with these issues on a
case-by-case basis instead of making `number_format_decimal_point` non-
localizable.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29819#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list