[wp-hackers] How to download multiple language packs via the API
nikolov.tmw at gmail.com
Mon Jan 27 16:47:36 UTC 2014
Well, the version of my code currently only downloads WordPress .mo files
anyway, so actually using the filters would add support for any plugins and
themes that get added :)
On Mon, Jan 27, 2014 at 6:14 PM, Andrew Nacin <wp at andrewnacin.com> wrote:
> Hi Nikola,
> Language packs only support a limited number of plugins and themes (more
> happening here soon, though), but yes, these filters are in place. See
> the plugins_update_check_locales and themes_update_check_locales filters in
> On Mon, Jan 27, 2014 at 11:11 AM, Nikola Nikolov <nikolov.tmw at gmail.com
> > Is it possible yet(or is it coming in 3.9) to automatically download
> > language files for WP, plugins, themes?
> > If so, is it possible via filters/action hooks to ask WordPress to
> > the language files for multiple languages, instead of just what the
> > currently active language is?
> > I'm asking this, because I resumed work on my multilingual plugin. In it
> > I've used a modified piece of code from qTranslate that would look for
> > translation files and download them from the WordPress.org repo.
> > Since I don't really like how it's written, and because of the fact that
> > this is/will be in core anyway, I don't see why to reinvent the wheel.
> > Best Regards,
> > Nikola Nikolov
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers