Hi guys,
I got some interesting plugin I hope you will all enjoy using.
Basically the plugin allows you to switch to any localization language (and available version: stable or dev) right from your wp-admin.
It’s a hack to solve the problem with the lack of a gettext compiler, but it works. If you can test it and come back with some feedback (bugs or misfunction), I will be happy to fix them before going into wild.
Nikolay Bachiyski 9:43 am on January 30, 2011 Permalink |
Nice plugin.
Stas Sușcov 12:01 pm on January 30, 2011 Permalink |
Thanks, I was hoping you will get some time to review it
Some questions…
1. I didn’t look initially on pomo class since I thought it might take too much resources (memory) for loading a po. But it makes sense, I’l check it.
2. Well, it parses only once the po, and stores it’s data as a global for later use. I dropped the idea with MO file since I couldn’t find a download repository for those. Or you were saying to get the zipball and extract it from there (which is ok for the stable version, but no way for dev) ?
3. Cool! Thanks a lot, didn’t know about that
Nikolay Bachiyski 12:49 pm on January 30, 2011 Permalink |
2. No, I meant that you should download the PO file, then make a MO file out of it and save the MO file for WordPress to use directly. But you no longer need to do it, because I added MO export format to GlotPress
Just enjoy http://translate.wordpress.org/projects/wp/dev/bg/default/export-translations?format=mo
Stas Sușcov 1:04 pm on January 30, 2011 Permalink |
Awesome!!!
Btw, the api is very-very slow, especially on such queries:
http://translate.wordpress.org/api/projects/wp/dev
Any ideas, WP_Http::request() ends with WP_Error?
Stas Sușcov 1:57 pm on January 30, 2011 Permalink |
Nvm, solved.
Stas Sușcov 1:58 pm on January 30, 2011 Permalink |
Released.
http://wordpress.org/extend/plugins/localize/