WordPress.org

Ready to get started?Download WordPress

Forums

WordPress.com Stats
WP Stats localization (1 post)

  1. Peter Holme
    Member
    Posted 3 years ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic