[wp-trac] [WordPress Trac] #29819: PHP Number Format (Decimal Point) of ru_RU
WordPress Trac
noreply at wordpress.org
Wed Oct 1 20: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 | Keywords:
Focuses: |
--------------------------+-----------------------------
Issue:
Decimals with comma are not accepted by a "padding" value measured in
percents.
Details:
There is a data in Russian translation of WP 4.0 (ru_RU.po):
{{{
#: wp-includes/locale.php:177
msgid "number_format_decimal_point"
msgstr ","
}}}
This block changes default "." separator by new "," that is commonly used
in Russia.
After that - many things (like "padding" with decimals measured in
percents) stops to work at all. For example, some plugins using viewport
calculation in their code, and outcome will be wrong with a comma.
Suggestion: It is allowed to use "." with decimals in Russia, so maybe
roll it back?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29819>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list