Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#41967 closed defect (bug) (invalid)

Stats: hits on Blog Stats widget not translating

Reported by: carinapilar's profile carina.pilar Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Widgets Keywords:
Focuses: Cc:

Description

Steps to reproduce

  • Add the Blog Stats widget on a site with more than a thousand views
  • Change the site's language to "Português do Brasil"
  • Check the Blog Stats widget on the site

What I expected

Thousands-separator to be a period, as it is in Portuguese.

What happened instead

The separator is a comma, which is the original string without translation.

Screenshot

https://cldup.com/3zZfX8_lN2.png

Change History (2)

#1 @knutsp
8 years ago

  • Component changed from General to Widgets
  • Keywords close added
  • Version 4.8.2 deleted

Thanks for the report, but there is no "Blog Stats" widget in WordPress core. This one must be provided by a plugin. You can help translate plugins on https://translate.wordpress.org/.

#2 @SergeyBiryukov
8 years ago

  • Keywords close removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

"Blog Stats" is one of the widgets from Jetpack plugin, but it correctly uses number_format_i18n() there, so the thousands separator should be translated based on locale. If you're seeing the issue in the Jetpack plugin, please report it on their Support page: https://jetpack.com/contact-support/.

"Blog Stats" is also one of the widgets on WordPress.com. If you're seeing the issue on WP.com, please report it on their forums: https://en.support.wordpress.com/.

Note: See TracTickets for help on using tickets.