[wp-trac] [WordPress Trac] #10373: Proper number formatting related to i18n

WordPress Trac noreply at wordpress.org
Tue Oct 13 00:21:53 UTC 2015


#10373: Proper number formatting related to i18n
---------------------------+-----------------------
 Reporter:  honza.skypala  |       Owner:  westi
     Type:  defect (bug)   |      Status:  reopened
 Priority:  normal         |   Milestone:  4.4
Component:  I18N           |     Version:  2.8.1
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------

Comment (by SergeyBiryukov):

 Tested on PHP 5.2.17, works as expected.

 [attachment:10373.2.diff] also replaces ` ` and ` ` from
 translations with the actual character.

 We could also probably add `html_entity_decode()` in case some locales
 need multiple characters other that space for thousands separators, but it
 looks like a fix for the non-breaking space is sufficient for now.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/10373#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list