Localization
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
» WP-UserOnline 2.06 Localized Version
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
AJAX
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.
Hi, GamerZ
I already try Useronline 2.06..and translare into my language
however, Localization can’t work at all. do I miss something?
or how do I set it up?
thanks
okie, 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
It should work, please get back to me.
thanks, I got it and it works now, I miss the part of filename “wp-useronline” but only zh_TW.mo
I will complete the translation :>
btw, about AJAX of wp-useronline, I still cant see if AJAX works like WP-Polls, does it work in the background?
yeap it works in the background, every X seconds (the X is set in your Options -> UserOnline) it will update itself and display it the latest users online without loading the page
Hi Gamerz,
I didn’t try to localize the plugin. Yet. I was just wondering why do you need both files – the .po and .mo – for the translation?
(BTW, you “internationalized” the plugin = preparing for translation; and we’ll “localize” it when translating into a local language, i.e. create the ‘locale’.)
Hello,
another message to warn you that it misses a declaration in the .pot file, with line 128 of useronline.php, concerning the word “guest� which appears on the page of the statistics when an unknown visitor traverses the site.
Also, I translated the whole and here the result 🙂
http://www.goodykz.123.fr/?page_id=48
THANK YOU, I have fixed it =)
No problem 🙂
I make the changes on my own po file and if you want I can send it to you 🙂
thanks, I have updated the CVS, which language you translated to?
In french of course 🙂
I don’t see the changes in the file…?
The noob’s question is : What’s the CVS ?
Here
http://dev.wp-plugins.org/browser/wp-useronline/trunk
I’m sorry, very very sorry, but there it misses another declaration in the .pot file, with line 121 of useronline.php. When a guest who wrote a comment on the blog, he’s appearing “guest_JOHN” on the statistics page…
Another thing to do (if you want)
A possibility to replace the date/hour strings via the .PO file… With this change, “December, 16th 2006 @ 1:07 pm” can become “16 Décembre 2006 – 13h07”
Is it a good idea ?
The only Plugin I could and would send to you maybe wp-print (2.06) in German. (See also other comment 😉 )
SolykZ: Fixed, the date thing is a bit hard. What if I use the wordpress date and time format instead?
Nobbi: Is it localized or you translate the text manually?
You can, for example, add the $date_format string in the .pot file and we ‘ll can modify it by an another one, like “d/m/y – G:i”, who ‘ll say : “27/12/2006 – 00:45”, no ?
Oh, I forgot : Merry Christmas and Happy New Year 😉
hmm good idea!
i had installed wp-stats plugin.it works but i want to change its language.How can i do it?
i tried to make with “poedit” but ican not see any options about language select in stats options
as in translate it? what language are u changing to?
Hi there,
Thanks for the plugins! Works great!
I just localized it into Catalan. The .po and the .mo files are available from my blog. Maybe you could upload the files to the wp-plugin-repository?
Thanks!
sure drop me a mail with it.
gamerz84 AT hotmail DOT com
Hello.
Translated to arabic (including rtl modifications).
Here:
http://www.ar-wp.com/showthread.php?p=19248#post19248
Thanks.
is it translated using po/mo method?