Title: [Plugin: WordPress.com Stats] WP Stats localization
Last modified: August 19, 2016

---

# [Plugin: WordPress.com Stats] WP Stats localization

 *  [Peter Holme Obrestad](https://wordpress.org/support/users/peterhol/)
 * (@peterhol)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-wp-stats-localization/)
 * Hi! I’m wondering if it’s possible to localize this plugin, and how.. I managed
   to produce a po-file from the stats.php file with Poedit, made som translations
   and produced mo files, I first named it `stats-nb_NO.mo`, then `nb_NO.mo`, putting
   it in the `wp-content/plugins/stats/` folder, but no luck.. It doesn’t seem to
   have any function to load a text domain, and all the strings are just `__('some
   string')`, instead of what you’d expect: `__('some string', 'wordpress-stats')`
   or something.. If I begin messing with the php file, it’ll just get reverted 
   once the plugin is updated, so I’d prefer if there were any other solutions…

The topic ‘[Plugin: WordPress.com Stats] WP Stats localization’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/stats.svg)
 * [WordPress.com Stats](https://wordpress.org/plugins/stats/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stats/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stats/)
 * [Active Topics](https://wordpress.org/support/plugin/stats/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stats/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stats/reviews/)

## Tags

 * [i18n](https://wordpress.org/support/topic-tag/i18n/)
 * [Localization](https://wordpress.org/support/topic-tag/localization/)
 * [Stats](https://wordpress.org/support/topic-tag/stats/)

 * 0 replies
 * 1 participant
 * Last reply from: [Peter Holme Obrestad](https://wordpress.org/support/users/peterhol/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-wp-stats-localization/)
 * Status: not resolved