[wp-trac] [WordPress Trac] #38482: Admin notices in the wrong language when switching language
WordPress Trac
noreply at wordpress.org
Wed Nov 2 22:19:00 UTC 2016
#38482: Admin notices in the wrong language when switching language
-------------------------------------------------+-------------------------
Reporter: afercia | Owner: ocean90
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.7
Component: I18N | Version: trunk
Severity: normal | Resolution:
Keywords: has-screenshots has-patch needs- | Focuses:
testing |
-------------------------------------------------+-------------------------
Comment (by ocean90):
Replying to [comment:7 swissspidy]:
> Note that [attachment:38482.diff] doesn't unload text domains as
`$language` is never empty.
`$language` is empty when the site language is set to `en_US`. Changing
the site language from `de_DE` to `en_US` shows the admin notice in German
with [attachment:38482.diff].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38482#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list