[wp-polyglots] Localization of WordPress.com Stats
nb at nikolay.bg
Tue Jul 20 00:36:35 UTC 2010
On Fri, Jul 2, 2010 at 00:13, Peter Holme <peter at holme.se> wrote:
> Please don't kill me if this is totally inappropriate, but here goes..
> I just posted this on wordpress.org/support/, it's tagged with and about the
> plugin WordPress.com Stats:
> 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 thewp-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...
I pinged Andy and we'll get these fixed.
More information about the wp-polyglots