[wp-trac] [WordPress Trac] #30559: Plugins and themes translations aren't downloaded when language is changed

WordPress Trac noreply at wordpress.org
Sun Nov 30 21:48:13 UTC 2014


#30559: Plugins and themes translations aren't downloaded when language is changed
-----------------------------+-----------------------------
 Reporter:  dimadin          |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 When you change language in Settings > General, translations of core for
 that language are downloaded, but plugins and themes translations aren't.
 You need to either manually upgrade translations, do any upgrade, or wait
 until `wp_maybe_auto_update` event fires, which can take couple of hours.

 I tried to follow same approach as in [30554] and to hook function
 `wp_maybe_auto_update` after language is changed and cache is cleared,
 which should update caches and download translations, but it seems that
 API doesn't give translations links.

 Since right now I can't investigate it in more details, I want to propose
 fixing this issue with something simple on WP side as in attached patch.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30559>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list