- Lester Chan's WordPress Plugins - https://lesterchan.net/wordpress -

Localization And AJAX Updates

I have localize WP-Stats and WP-UserOnline in addition to WP-Polls. If any one of you willing are to test it for me, the downloads links are as follows:
» WP-Stats 2.06 Localized Version [1]
» WP-UserOnline 2.06 Localized Version [2]

If you do test it, please feedback to me if there are any text not translated properly or can be improved. Thanks alot.

Example of WP-UserOnline: You need to create a new .po based on the .pot then after translating you need to save as for example: wp-useronline-de_DE.po where de_DE is your language. The poedit (I assume you are using poedit) will generate a file called wp-useronline-de_DE.mo.

Note: make sure that both files are in wp-content/plugins/useronline

WP-Polls and WP-UserOnline now processes AJAX in their own file like polls.php and useronline.php instead of index.php. I think in this way it will be faster and it will have lesser conflicts with other plugins. I have also removed the Javascript variable site_url in them because it is not used.