[wp-trac] [WordPress Trac] #42241: MediaElement should use the correct locale string
WordPress Trac
noreply at wordpress.org
Mon Oct 16 18:34:07 UTC 2017
#42241: MediaElement should use the correct locale string
-------------------------------------+-------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.9
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: javascript
-------------------------------------+-------------------------
Comment (by westonruter):
What if the user's language is different from the site's language? Should
not the language be determined more dynamically? Should it not be
`get_user_locale()` when in the admin? If the user has selected language A
but the site has language B, then they should get MediaElement.js with
language A in the Customizer controls but in the customizer preview it
should get language B, right?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42241#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list