[wp-trac] [WordPress Trac] #30559: Plugins and themes translations aren't downloaded when language is changed
WordPress Trac
noreply at wordpress.org
Mon May 6 14:19:13 UTC 2019
#30559: Plugins and themes translations aren't downloaded when language is changed
-----------------------------+-----------------------------
Reporter: dimadin | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-----------------------------+-----------------------------
Comment (by afercia):
Quoting from #47108:
> Code-wise this seems to be the intended behavior, but there are some
undesirable side-effects:
> - User experience is not ideal: there's nothing to inform users they
have to update [Edit: click Update Translations in the Updates screen] to
actually get plugins and themes translations.
> - Plugins (and themes) code relying on `is_textdomain_loaded()` will
fail because the new language .mo file doesn't exist yet. While this is
technically correct, it's a bit misleading as developers might expect it
returns true once a new language has been set.
> I'd tend to think software should have smart default behaviors and not
require users to do manual tasks that can be avoided. Seems to me a better
behavior would be automatically downloading also the plugin and theme
language packs.
I'd like to propose to give this ticket some higher priority. /Cc
@swissspidy @ocean90
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30559#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list